joey Thu Jan 16 21:11:08 2003 EDT Modified files: /phpdoc/en/reference/filesystem/functions fopen.xml Log: Open a file, not just the directory. Index: phpdoc/en/reference/filesystem/functions/fopen.xml diff -u phpdoc/en/reference/filesystem/functions/fopen.xml:1.7 phpdoc/en/reference/filesystem/functions/fopen.xml:1.8 --- phpdoc/en/reference/filesystem/functions/fopen.xml:1.7 Sun Jan 12 21:54:28 2003 +++ phpdoc/en/reference/filesystem/functions/fopen.xml Thu Jan 16 21:11:08 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.fopen"> <refnamediv> @@ -124,7 +124,7 @@ $handle = fopen ("/home/rasmus/file.txt", "r"); $handle = fopen ("/home/rasmus/file.gif", "wb"); $handle = fopen ("http://www.example.com/", "r"); -$handle = fopen ("ftp://user:[EMAIL PROTECTED]/", "w"); +$handle = fopen ("ftp://user:[EMAIL PROTECTED]/somefile.txt", "w"); ?> ]]> </programlisting>
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php