faqts : Computers : Programming : Languages : PHP : Function Libraries : File Handling

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 6 people (50%) answered Yes
Recently 2 of 4 people (50%) answered Yes

Entry

Why does my script fail to execute when I try to use file() or fopen() to load another web page?

Sep 29th, 2004 12:49
Gabriele F, Travis Richardson, http://www.php.net/manual/en/function.ini-set.php


"allow_url_fopen" must be set to "on" of "1" in your "php.ini" 
or "httpd.conf" file.
SEE ALSO:
http://www.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen
http://www.php.net/manual/en/function.ini-set.php