I found the error, silly me i had $!/usr/bin/php -q instead of #!/usr/bin/php -q,
sorry gamin. "Gamin" <[EMAIL PROTECTED]> wrote in message news:20021027181157.79883.qmail@;pb1.pair.com... > Hi, > > RedHat 7.2 - PHP 4.0.6 > > i run this command on the console when im disconnected from the net and i > get an immediate response : > > wget yahoo.com/ui.htm -O outfile -a logfile > > the logfile has the error mentioning that HOST NOT FOUND > > now if do something like this > > ---test.php--- > #!/usr/bin/php -q > <? > system('wget yahoo.com/ui.htm -O outfile -a logfile'); > ?> > > the script seems to hang. it does not seem to result in anything for at > least 4-5 minutes (i haven't tried more than that) > > What am i doing wrong ? > > gamin. > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php