Page 2 of 2
Posted: Mon Mar 07, 2005 6:51 pm
by feyd
use var_export($submit,true) over $submit.. it can tell you subtle changes in how the variable is echo'd when php doesn't quite know how to proceed. You may also want to echo var_export(isset($submit),true) .. to make sure you know what is happening..
Posted: Mon Mar 07, 2005 7:57 pm
by lscarmichael
wow, this is strange behavior.....go and check it out....let me know if it needs to show any other variables
http://www.andinaugust.com/admin/signup.php
Posted: Mon Mar 07, 2005 8:02 pm
by feyd
looks like correct behaviour to me.
Posted: Mon Mar 07, 2005 9:28 pm
by lscarmichael
what do you mean? i've tried it on several computers and it doesn't work. and if you really did enter a valid email address, it didn't show up in my database. did you try several different combinations?
Posted: Mon Mar 07, 2005 9:30 pm
by lscarmichael
did you try in in IE? it does work fine in firefox. i've been using it correctly for several days now. it just doesn't work in IE.
Posted: Mon Mar 07, 2005 9:35 pm
by feyd
I don't typically try something in IE unless I am specifically asked to.
IE does not submit the "submit" button unless it is clicked/selected/whatever. As I've said many times before and probably will in the future still, do not rely on the submit button existing in the post data. If you want to know what request method the page request is use $_SERVER['REQUEST_METHOD'].
Posted: Mon Mar 07, 2005 9:43 pm
by lscarmichael
GOT IT!!! apparently firefox has built in support for pressing <enter> to submit a form. IE does not. if i actually press the button with the mouse everything works fine. I just need to find a fix for the form to allow <enter> to submit and i'll be in good shape!
thanks for all the posts. this place is an amazing resource. i hope i get good enough at this that i can contribute more in the future.