Forum Moderators: coopster

Message Too Old, No Replies

no suitable wrapper found error

         

NeilsPHP

12:08 am on Apr 20, 2009 (gmt 0)

10+ Year Member



hi,
i m trying to access a file on another server and it's giving me this error.Is there a way to access remote files (reading purposes only) without making wrappers on in php.ini ?

coopster

8:21 pm on Apr 24, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Wrappers can be the http protocol so unless it is disabled you should be able to use the remote file name through that protocol. Have a look at the function definition for details (file, file_get_contents, etc ... whichever you are using here).