Date: 07/31/99
- Next message: Jim Winstead: "[PHP-DEV] cvs: /phpdoc/functions mysql.sgml"
- Previous message: Jim Winstead: "[PHP-DEV] cvs: /phpdoc/functions var.sgml /phpdoc/language expressions.sgml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
jim Sat Jul 31 21:23:47 1999 EDT
Modified files:
/phpdoc/features file-upload.sgml
/phpdoc/functions info.sgml
/phpdoc/language functions.sgml
Log:
More fixups.
Index: phpdoc/features/file-upload.sgml
diff -u phpdoc/features/file-upload.sgml:1.1 phpdoc/features/file-upload.sgml:1.2
--- phpdoc/features/file-upload.sgml:1.1 Sat Jun 19 21:21:16 1999
+++ phpdoc/features/file-upload.sgml Sat Jul 31 21:23:47 1999
@@ -16,10 +16,9 @@
<para>
Note that PHP also supports PUT-method file uploads as used by
- Netscape Composer and W3C's Amaya clients. See the
- <link linkend="features.file-upload.put-method">PUT Method Support</link> for more
- details.
- </para>
+ Netscape Composer and W3C's Amaya clients. See the <link
+ linkend="features.file-upload.put-method">PUT Method Support</link>
+ for more details.
<para>
A file upload screen can be built by creating a special form which
@@ -36,11 +35,10 @@
</programlisting>
</example>
- The _URL_ should point to a php html file. The MAX_FILE_SIZE
- hidden field must precede the file input field and its value is
- the maximum filesize accepted. The value is in bytes. In this
- destination file, the following variables will be defined upon a
- successful upload:
+ The _URL_ should point to a PHP file. The MAX_FILE_SIZE hidden
+ field must precede the file input field and its value is the maximum
+ filesize accepted. The value is in bytes. In this destination file,
+ the following variables will be defined upon a successful upload:
<para>
<itemizedlist>
@@ -78,8 +76,8 @@
<simpara>
Files will by default be stored in the server's default temporary
directory. This can be changed by setting the environment variable
- TMPDIR in the environment in which PHP runs. Setting it using
- <function>putenv</function> from within a PHP script will
+ <envar>TMPDIR</envar> in the environment in which PHP runs. Setting
+ it using <function>putenv</function> from within a PHP script will
not work.
<simpara>
Index: phpdoc/functions/info.sgml
diff -u phpdoc/functions/info.sgml:1.4 phpdoc/functions/info.sgml:1.5
--- phpdoc/functions/info.sgml:1.4 Sat Jul 31 20:37:07 1999
+++ phpdoc/functions/info.sgml Sat Jul 31 21:23:47 1999
@@ -154,7 +154,7 @@
<refentry id="function.getenv">
<refnamediv>
<refname>getenv</refname>
- <refpurpose>Get the value of an environment variable.</refpurpose>
+ <refpurpose>Get the value of an environment variable</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@@ -166,9 +166,19 @@
<para>
Returns the value of the environment variable
<parameter>varname</parameter>, or false on an error.
- <informalexample><programlisting>
-$ip = getenv("REMOTE_ADDR"); // get the ip number from the user
-</programlisting></informalexample>
+
+ <informalexample><programlisting>
+$ip = getenv("REMOTE_ADDR"); // get the ip number of the user
+ </programlisting></informalexample>
+
+ <para>
+ You can see a list of all the environmental variables
+ by using <function>phpinfo</function>. You can find
+ out what many of them mean by taking a look at the
+ <ulink url="http://hoohoo.ncsa.uiuc.edu/cgi/">CGI
+ specification</ulink>, specifically the <ulink
+ url="http://hoohoo.ncsa.uiuc.edu/cgi/env.html">page on environmental
+ variables</ulink>.
</refsect1>
</refentry>
Index: phpdoc/language/functions.sgml
diff -u phpdoc/language/functions.sgml:1.4 phpdoc/language/functions.sgml:1.5
--- phpdoc/language/functions.sgml:1.4 Mon Jul 19 18:36:47 1999
+++ phpdoc/language/functions.sgml Sat Jul 31 21:23:47 1999
@@ -150,9 +150,9 @@
example) a variable or class member.
<para>
- In PHP 4.0 it's also possible to specify <literal>unset</literal>
- for default argument. This means that the argument will not be
- set at all, if a value is not supplied.
+ In PHP 4.0 it's also possible to specify <literal>unset</literal>
+ for default argument. This means that the argument will not be
+ set at all, if a value is not supplied.
<para>
Note that when using default arguments, any defaults should be
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jim Winstead: "[PHP-DEV] cvs: /phpdoc/functions mysql.sgml"
- Previous message: Jim Winstead: "[PHP-DEV] cvs: /phpdoc/functions var.sgml /phpdoc/language expressions.sgml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

