Re: [PHP] Re: PHP Failing to open remote files using include/require

2004-09-23 Thread Mark Cooke
Mikey wrote: Have you looked at your "allow_url_fopen" setting in php.ini? It should be on... That was the first thing I checked and both values are on. Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Failing to open remote files using include/require

2004-09-23 Thread Mark Cooke
Hi, I have a server hosted by a company running Win2k, they are in charge of the maintainance, and we had a site working fine, then yesterday, it failed to include any files using http:// using: include ("http://".$_SERVER['SERVER_NAME']."/dir/somefile.php"); The code has not been altered in 2 w

[PHP] using headers to download a file takes too long

2004-08-05 Thread Mark Cooke
Hi, I'm writing a few scripts that allows users to download files, some around 45MB+. The files are stored outside the webroot, for security reasons, so when the user clicks on the link, this called my downloadFile.php script, this script accesses the requested files, using the path relative to t