I am having a problem reading a remote file using fopen and http://.  I
suspect this is because the remote file is sending back a cookie.  Can
anyone confirm and/or offer a solution?

Here is what I am doing.

$CP_url is a full url in the form http://blah.com/footer.html

$filename = "$CP_url";
$fd = fopen ($filename, "r");
$PAGE_FOOTER  = fread ($fd, filesize ($filename));
fclose ($fd);


David McInnis


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

Reply via email to