Re: _GET('name') truncates
| From: | Oscar Gosdinski | Date: | Mon, 05 Feb 2007 20:36:04 +0000 |
| Subject: | Re: _GET('name') truncates | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-248380@lists.php.net to get a copy of this message | ||
When you send GET all the parameters are sent in the HTTP header and
this header has a limited length. If you want to send large parameters
in a form you have to use POST which send this data on the HTTP body
and it has no limit.
On 2/5/07, Ramon <info@kwekerijschiffelers.nl> wrote:
Hi all, I've written a php script, called test.php, consisting of the following statements: <?php error_reporting(E_ALL); $query = $_GET['sql']; echo $query; ?> Using the script with 'small' values for the parameter sql works fine. Although, using the script with the sql query as specified below -- Saludos Oscar