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

#!/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 ?


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

Reply via email to