I’ve been making changes to a form I’ve been working on. I added the jquery-validation plugin for client side validation. Now my $_POST array is empty when it gets to my php script. I was messing around with echo statements and found that if I just used $ plus the field name from the form it has the value.
yes both of those worked. thanks that helped me find it. In my copy and paste madness the method=‘post’ must have got deleted. But i’m still surprised that just having $ plus the input name had a value stored in it with out having to do something like $requester_name =$_POST[‘requester_name’] or $requester_name =$_Request[‘requester_name’]
That would indicate register_globals is on, which is highly discouraged. (In fact, it’s so highly discouraged that this ability was removed from PHP entirely as of PHP 5.4.0)