Php decoding querystrings
Posted: Sun Jul 25, 2010 7:43 pm
Hi all,
I have recently learnt that php decodes a query string automatically. Is there a way to disable this feature for a webpage?
So when you write code like:
There is an automatic decode($account); that occurs.
This is probably a very good thing but in my current situation it is not desirable. What is the best way to get the querystring data 'as is'?
I have recently learnt that php decodes a query string automatically. Is there a way to disable this feature for a webpage?
So when you write code like:
Code: Select all
$account = $_REQUEST["account"];
This is probably a very good thing but in my current situation it is not desirable. What is the best way to get the querystring data 'as is'?