Re: Gnome and MIME types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"as you can see..." -- Helps to provide the feedback I am getting:

Array
(
   [0] => --------------------
   [1] => class.fileSystem.php
   [2] => tester.php
   [3] => --------------------
   [4] => PHP script text
   [5] => PHP script text
)

Nate

On 3/30/07, Nathan Ziarek <nziarek@xxxxxxxxx> wrote:
Ooooh. That would have been likely, too. It is typed in correctly in the script.

Just to test, my entire script is nothing more than:

<?PHP
        exec("/usr/bin/gnomevfs-info", $array);
        $array[] = "--------------------";
        exec("ls", $array);
        $array[] = "--------------------";
        exec("file -i -b *", $array);
        echo "<pre>" . print_r($array, true) . "</pre>";
?>

I was using it to test the output, which works on both "ls" and
"file." Running "gnomevfs-info" without a file pumps out "Usage:
/usr/bin/gnomevfs-info <uri>" at the command line. As you can see, it
pumps out nothing when run in PHP.

I can't for the life of me think of a reason for it not to give me any
indication of why it isn't working. No errors, no results.

Nate

On 3/29/07, Edward Vermillion <evermillion@xxxxxxxxxxxx> wrote:
>
> Just going out on a limb here, but did you mis-type it in the script
> also?
>
>
> >> >
> >> > I then stumbled upon gnomevfs-info that provided the information I
> >>                        ^^^^^^^^^^^^^
>
>
>
> >> > exec, etc). I used the full path (/usr/bin/gnamevfs-info) so I
> >> don't
>                                                  ^^^^^^^^^^^^^
>
>


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux