Please help: File access impossible???

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hello All:

Recently I am experiencing problems with my PHP scripts not being able
to access remote files. I receive the following errors:

file(): URL file-access is disabled in the server configuration in
/usr/www/users/testprog/cron.php on line 60

file( ): failed
to open stream: no suitable wrapper could be found in
/usr/www/users/testprog/cron.php on line 60

Curiously, if I omit the query string portion (?campaign_id=13) the
problem disappears.

Any ideas on what the problem could be and how to remedy it?
Thank you very much.

Re: Please help: File access impossible???

*** Jerry wrote/escribió (Fri, 09 Jul 2004 10:37:53 +0200):
Quoted text here. Click to load it

Well, since the error messages says "URL file-access is disabled in the
server configuration" I'd say that's exactly the problem. Your ISP doesn't
allow you to do so.

Are you really accessing a file in different server? Because otherwise it's
better to just use require(), include(), virtual() and the like.

-- Álvaro G. Vicario - Burgos, Spain

Site Timeline