|
Posted by Rik on 02/05/07 19:15
Ramon <info@kwekerijschiffelers.nl> wrote:
> Hi all,
>
> I've written a php script, called test.php, consisting of the followin=
g
> statements:
>
> <?php
> error_reporting(E_ALL);
> $query =3D $_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 very long url>
> I do not understand why the value of the sql parameter is truncated. A=
ny
> help is appreciated!!
The GET string has a maximum, both by HTTP design and browser limitation=
s, =
and you probably reached it (anyone willing to look up what that exact =
maximum is?).
You shouldn't try to get this in a GET, just use POST.
-- =
Rik Wasmus
Navigation:
[Reply to this message]
|