Current the following string (inside the quotes) "give me a + plz"
should be encoded correctly to "give%20me%20a%20+%20plz" when passed
as a query string.
Now when the query string is presented with $_GET['x'], the result is
"give me a plz". Clearly wrong.
This leads to people (I'm sure I'm not
If the objective is to 'block' POST data from getting to PHP, (in
apache) you can use:
http://httpd.apache.org/docs/2.0/mod/core.html#limit
No need to change / add anything to PHP.
-Tig
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks!
Very happy about this :]
-Tig
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Jun 4, 2010 at 11:19 AM, Kalle Sommer Nielsen wrote:
> Hi Tig
>
> 2010/6/4 Tig :
>> Would be at all possible to implement this kind of shortcut?
>
> Its called array-dereferencing and it was proposed countless times,
> including by myself. There is an RFC for this[
:
Anyway, just an idea.
-Tig
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php