cvs: phpdoc-es /language variables.xml

From: Date: Mon, 16 Jun 2003 07:45:17 +0000
Subject: cvs: phpdoc-es /language variables.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-248@lists.php.net to get a copy of this message
rafael Mon Jun 16 03:45:17 2003 EDT Modified files: /phpdoc-es/language variables.xml Log: Arreglos minimos Index: phpdoc-es/language/variables.xml diff -u phpdoc-es/language/variables.xml:1.8 phpdoc-es/language/variables.xml:1.9 --- phpdoc-es/language/variables.xml:1.8 Sun May 11 16:39:11 2003 +++ phpdoc-es/language/variables.xml Mon Jun 16 03:45:17 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.58 Maintainer: rafael Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.62 Maintainer: rafael Status: ready --> <chapter id="language.variables"> <title>Variables</title> @@ -181,6 +181,8 @@ antiguas (<varname>$HTTP_*_VARS</varname>) todav&iacute;a existen. </simpara> + &avail.register-long-arrays; + <note> <title>Variables variables</title> <para> @@ -786,7 +788,7 @@ <title>Variables de formulario simples</title> <programlisting role="php"> <![CDATA[ -<form action="foo.php" method="post"> +<form action="foo.php" method="POST"> Name: <input type="text" name="username"><br> Email: <input type="text" name="email"><br> <input type="submit" name="submit" value="Submit me!"> @@ -816,7 +818,8 @@ import_request_variables('p', 'p_'); print $p_username; -// Available since PHP 3. +// Available since PHP 3. As of PHP 5.0.0, these long predefined +// variables can be disabled with the register_long_arrays directive. print $HTTP_POST_VARS['username']; @@ -899,7 +902,7 @@ print '</pre>'; } else { ?> -<form action="<?php echo $HTTP_SERVER_VARS['PHP_SELF']; ?>" method="post"> +<form action="<?php echo $HTTP_SERVER_VARS['PHP_SELF']; ?>" method="POST"> Name: <input type="text" name="personal[name]"><br> Email: <input type="text" name="personal[email]"><br> Beer: <br>

« previous php.doc.es (#248) next »