Re: XML_RSS: needs "allow_url_fopen=On", do all you have that ini setting to On?
| From: | Jeff MacDonald | Date: | Thu, 01 Sep 2005 21:46:39 +0000 |
| Subject: | Re: XML_RSS: needs "allow_url_fopen=On", do all you have that ini setting to On? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20739@lists.php.net to get a copy of this message | ||
On Thu, 2005-09-01 at 13:08 -0700, l Burnerheimerton wrote:
> I have researched this and found you need
> allow_url_fopen=On in order for XML_RSS to work. I
> also found that it doesn't look like you can change
> that ini setting dynamically. I've tried this test:
[..snipped..]
two things:
(a) allow_url_fopen is PHP_INI_SYSTEM as of 4.3.4 which is why using
ini_set() from your php script doesn't work.
(b) you only need to have allow_url_fopen if you are referencing a url
with your fopen() call. if you change your code such that you refer to
local files (which is better for bandwidth anyway) XML_RSS *should* work
just fine regardless of the setting.
perhaps a note regarding this in the documentation would be appropriate.
regards,
J
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc