Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- include ('url') VS readfile('url')
October 18, 2007, 2:54 pm
rate this thread
On my webhost this line
always worked with no problem until monday.
But now I get this message
Warning: main(): Failed opening 'http://www.google.com' for inclusion
(include_path='.;c:\php4\pear') in c:\inetpub\wwwroot\gng\pegi.php on
Likewise, I can no longer to upload any file.
Re: include ('url') VS readfile('url')
Contact your host and ask them what they changed. For the first, the =
settings allow_url_fopen & allow_url_include or of importance, for the =
second one file_uploads, upload_max_filesize, upload_tmp_dir and =
post_max_size. You can examine the current settings for those with eithe=
ini_get() or phpinfo().
- » Adding a clickable button or text into a image with GD
- — Previous thread in » PHP Scripting Forum