RE: Maximum URL length (Pretty much 0T)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ryan A <mailto:genphp@xxxxxxxxx>
    on Thursday, May 04, 2006 10:38 AM said:

> - Anything else you wish to add pertaining to the
> above.

You could try sending an insanely long value to a script on your page
and see how much of the actual data it received before being truncated
or causing an error.

Open notepad (if on Windows) and hold down the 1 key for about a 2
minutes. Then copy all that and paste it back into notepad. Then put all
that into a page like this: (Oh and you'll need to know exactly how many
1's are in your document.)

<html>
<body>

<?php

  $number_of_chars = strlen($_GET['v']);

  echo "<p>I received $number_of_chars</p>";

?>

<a href="test.php?v=111111111111111111111111111111111...">click me!</a>

</body>
</html>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux