cvs: peardoc /en/package/xml/xml-rss requirements.xml
| From: | Arnaud Limbourg | Date: | Tue, 06 Sep 2005 15:25:24 +0000 |
| Subject: | cvs: peardoc /en/package/xml/xml-rss requirements.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-6733@lists.php.net to get a copy of this message | ||
arnaud Tue Sep 6 11:25:24 2005 EDT
Modified files:
/peardoc/en/package/xml/xml-rss requirements.xml
Log:
#5271: ini_set cannot be used for allow_url_fopen as per http://www.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen
http://cvs.php.net/diff.php/peardoc/en/package/xml/xml-rss/requirements.xml?r1=1.1&r2=1.2&ty=u
Index: peardoc/en/package/xml/xml-rss/requirements.xml
diff -u peardoc/en/package/xml/xml-rss/requirements.xml:1.1
peardoc/en/package/xml/xml-rss/requirements.xml:1.2
--- peardoc/en/package/xml/xml-rss/requirements.xml:1.1 Sun Jan 4 08:35:36 2004
+++ peardoc/en/package/xml/xml-rss/requirements.xml Tue Sep 6 11:25:21 2005
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="package.xml.xml-rss.requirements">
<refnamediv>
<refname>Requirements</refname>
@@ -26,29 +26,11 @@
<quote>allow_url_fopen</quote> is set to <quote>On</quote> before
running <classname>XML_RSS</classname>.
</para>
+
<para>
To find out the current value of <quote>allow_url_fopen</quote>, one
can use the function <function>ini_get</function>. To set a new value
- of <quote>allow_url_fopen</quote>, <function>ini_set</function> can
- be used.
- </para>
-
- <example>
- <title>Setting <quote>allow_url_fopen</quote></title>
-
- <programlisting role="php">
-if (ini_get("allow_url_fopen") == 0) {
- echo "Setting allow_url_fopen to On";
- ini_set("allow_url_fopen", 1);
-}
-
-/* ... */
- </programlisting>
- </example>
-
- <para>
- Alternatively one can set the value for
- <quote>allow_url_fopen</quote> directly in the
+ of <quote>allow_url_fopen</quote>, you must modify the
<filename>php.ini</filename> configuration file of PHP.
</para>