georg Wed Apr 10 04:25:25 2002 EDT
Modified files:
/phpdoc/en/functions filesystem.xml
Log:
changed urls in examples
Index: phpdoc/en/functions/filesystem.xml
diff -u phpdoc/en/functions/filesystem.xml:1.139
phpdoc/en/functions/filesystem.xml:1.140
--- phpdoc/en/functions/filesystem.xml:1.139 Mon Apr 8 09:59:33 2002
+++ phpdoc/en/functions/filesystem.xml Wed Apr 10 04:25:25 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.139 $ -->
+<!-- $Revision: 1.140 $ -->
<reference id="ref.filesystem">
<title>Filesystem functions</title>
<titleabbrev>Filesystem</titleabbrev>
@@ -726,13 +726,13 @@
<![CDATA[
<?php
// get a web page into an array and print it out
-$fcontents = file ('http://www.php.net/');
+$fcontents = file ('http://www.example.com/');
while (list ($line_num, $line) = each ($fcontents)) {
echo "<b>Line $line_num:</b>; ", htmlspecialchars ($line), "<br>\n";
}
// get a web page into a string
-$fcontents = implode ('', file ('http://www.php.net/'));
+$fcontents = implode ('', file ('http://www.example.com/'));
?>
]]>
</programlisting>
@@ -1316,7 +1316,7 @@
<![CDATA[
$fp = fopen ("/home/rasmus/file.txt", "r");
$fp = fopen ("/home/rasmus/file.gif", "wb");
-$fp = fopen ("http://www.php.net/", "r");
+$fp = fopen ("http://www.example.com/", "r");
$fp = fopen ("ftp://user:[EMAIL PROTECTED]/", "w");
]]>
</programlisting>