be compliant a bit more to RFC 2606

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@76221 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Simone Cortesi 2002-04-01 17:49:16 +00:00
parent b4edfe13b6
commit c99cdac0dd

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.14 $ -->
<!-- $Revision: 1.15 $ -->
<chapter id="features.remote-files">
<title>Using remote files</title>
@ -33,7 +33,7 @@
<programlisting role="php">
<![CDATA[
<?php
$file = fopen ("http://www.php.net/", "r");
$file = fopen ("http://www.example.com/", "r");
if (!$file) {
echo "<p>Unable to open remote file.\n";
exit;
@ -67,7 +67,7 @@ fclose($file);
<programlisting role="php">
<![CDATA[
<?php
$file = fopen ("ftp://ftp.php.net/incoming/outputfile", "w");
$file = fopen ("ftp://ftp.example.com/incoming/outputfile", "w");
if (!$file) {
echo "<p>Unable to open remote file for writing.\n";
exit;