i try to open the external file using fopen() function.
I use the example from php.net:
$filename = http://www.aaa.com/index.html;
$fd = fopen ($filename, "r");
$contents = fread ($fd, filesize ($filename));
fclose ($fd);

however I always get the error "stat failed for
http://www.aaa.com/index.html (errno=2 - No such file or directory) "
but this file really exists.
what is the problem?



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

Reply via email to