mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
b4edfe13b6
commit
c99cdac0dd
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue