Welcome Guest, Not a member yet? Register   Sign In
Avoiding something with $_POST
#9

[eluser]cahva[/eluser]
[quote author="BrianDHall" date="1254818469"]

The only one thing is technically...the way you were doing it wasn't strictly 'right', as if nothing was posted $_POST would be an unitialized variable and would generate a PHP Notice.
[/quote]
Well not exactly right because $_POST itself is always initialized so using
Code:
if (!$_POST)
..will not generate notice. $_POST will be just an empty array.


Messages In This Thread
Avoiding something with $_POST - by El Forum - 07-29-2009, 07:33 PM
Avoiding something with $_POST - by El Forum - 07-29-2009, 08:03 PM
Avoiding something with $_POST - by El Forum - 07-29-2009, 09:20 PM
Avoiding something with $_POST - by El Forum - 07-29-2009, 11:10 PM
Avoiding something with $_POST - by El Forum - 10-05-2009, 09:24 PM
Avoiding something with $_POST - by El Forum - 10-05-2009, 09:41 PM
Avoiding something with $_POST - by El Forum - 10-06-2009, 06:40 AM
Avoiding something with $_POST - by El Forum - 10-06-2009, 09:42 AM
Avoiding something with $_POST - by El Forum - 10-06-2009, 11:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB