PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Since I don't really see a question, I'll assume it's "how do I do ...?"
In which case, myproc.php would output the form again. I'll guess that the form is not in myproc.php, so you may be able to use file_get_contents(), or possibly include().
Actually the form is in the mypage.php file and I have
used both the require statment and the action in the form to call the myproc.php file.
What the problem is, I can not get the vars to return, regardless of whether I use
the global statement for the vars I need to see or not.
It is a simple login process and I need to show the fields and login on first pass
and the results from the DB query (Welcome vs. Failed) on second pass.
Can't get the passes or var exchange to work correctly!
Do not want to use $_PHP_SELF for security reasons, unless you can show me
a good way to secure it.
you can always put the validation on another page,so that you can bypass you "security reasons" and then get it over there by using the $_POST['var'] array.
$display_block = "<font size=-1><b>Login not successful!</b></font>";
The $display_block sets on first pass, but does not set on second. When I use header it sees the runs as first pass and resets everything, so can not get the transfer.