|
Posted by big.sexy.jcw on 01/12/08 05:41
Okay, I just set up my first dedicated server and everything is
running fine, except one script that calls a file on another server.
Failed opening required 'http://www.example.com/
somefile.txt' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /
home/example/public_html/includes/common.inc(1201) : eval()'d code on
line 43
The code that's throwing the error is:
$fp = @fsockopen("www.example.com", "80",$errno, $errstr,
$timeout="5"); if($fp) { require ''http://www.example.com/act/partner/
inclusion.php"; }
And for what it's worth I changed require with include and it then
threw:
URL file-access is disabled in the server configuration
Now, I've checked and made sure that allow_url_fopen is on and
safe_mode is off. But I still get an error so I'm missing something
somewhere. What other settings should I be looking at?
Thanks,
Jeremy
Navigation:
[Reply to this message]
|