Forum Moderators: coopster

Message Too Old, No Replies

using external file while allow url fopen is disabled

while allow_url_fopen is disabled

         

john1000

8:54 am on Dec 7, 2006 (gmt 0)

10+ Year Member



does anyone know if theres a way to grab an external file if allow_url_fopen is disabled.
the alternative should be cURL,but thats not enabled to...
any other solutions?

mcibor

9:33 am on Dec 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can try to connect via ftp
[php.net...]

Otherwise it would be a serious security breach if there was easy access to pages.
Hope this helps you
Michal

john1000

9:54 am on Dec 7, 2006 (gmt 0)

10+ Year Member



i see but to use the ftp you should have special access as weell...
but i mean if i would like to grab news or whatever source i need to use the mentioned functions...
but if thats impossible like i wrote...whats left then?

mcibor

10:45 am on Dec 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The only possible solution would be reading the page (not the file), parsing the text to display only what you like and showing it to the public.

I don't know what is left to do.
Michal

john1000

11:19 am on Dec 7, 2006 (gmt 0)

10+ Year Member



ok thank you..