|
|||||||||||
|
Re: When GET = POST?
From: Alonso Robles <kha0z(at)earthlink.net>
Date: Sat Nov 09 2002 - 05:38:15 EST
On Tuesday, November 5, 2002, at 02:54 AM, Chris Thomas wrote: > Hi,
Yes they do. While the retrieval mechanism can make the differentiation completely transparent for the web application developer, it is always good practice to call the expected variable from the header that is expected. >
> - Why does it happen? Is it just lazy coding or do languages like ASP
It is lazy coding and not secure. > - How is this situation handled in common server side languages such
Turn globals off!!! That is a major security issue anyway. You can refer to a POST variable in PHP by using the $_POST array to access the data. For example, if you are expecting a value for a variable you named "article" you can reference that data by using $_POST['article']. If you are expecting it in a GET header you can do it the same by referencing $_GET['article']. >
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:44 EDT |
||||||||||
|
|||||||||||