Re: _GET('name') truncates

From: Date: Mon, 05 Feb 2007 20:10:09 +0000
Subject: Re: _GET('name') truncates
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-248377@lists.php.net to get a copy of this message
Ramon wrote:
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 <snip>
I do not understand why the value of the sql parameter is truncated. Any help is appreciated!!
If you really care then you need to sniff the traffic. Chances are that either the browser or server is truncating it. Oh, and please tell me you're not really doing that!!!! -Stut

« previous php.general (#248377) next »