For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > February 2007 > allow_url_fopen question









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author allow_url_fopen question
kellygreer1

2007-02-13, 6:59 pm

When you are on a hosting provider that does not have allow_url_fopen
set to true... what is the best way to request .txt,.xml,.html from
other sites?

Would rather include a few lines of standard PHP than include a whole
library to solve the issue. I think I had used Snoopy to work around
this in the past,

Thanks,
Kelly Greer
KellyGreer@nospam.com
replace nospam with yahoo

Stuart Millington

2007-02-13, 6:59 pm

On 13 Feb 2007 16:35:23 -0800, "kellygreer1" <kellygreer1@yahoo.com>
wrote:

>When you are on a hosting provider that does not have allow_url_fopen
>set to true... what is the best way to request .txt,.xml,.html from
>other sites?


wget or CURL depending on the situation.

--
------------------------------------------------------------------
- Stuart Millington ALL HTML e-mail rejected -
- mailto:phupp@dsv1.co.uk http://www.z-add.co.uk/ -
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com