Author | Post | ||
sniperkid |
i have made a login script and it uses method POST and it then refreshes the current page (login.php) saying that you are logged in and it uses a meta to refresh to another page, would $username=$_POST["username"]; work because i cant seem to get it to |
||
10.06.2004 10:32:55 |
|
||
cyph1e |
You gotta use sessions, from reading your post, it seems that you are not. |
||
10.06.2004 15:30:53 |
|
||
sniperkid |
i cant seem to get it to refresh to another page though, its something like this... check username and password are correct if not then do this else echo "Logged In"; echo "<meta http-equiv=\"Refresh\" content=\"3;>url=address here\">"; but some how it doesn't goto that page |
||
14.06.2004 11:03:51 |
|
||
matrixman |
Hi, i think this is the correct way: if(....) { echo "<meta http-equiv=\"refresh\" content=\"2 ; URL=adress.php\"> "; } greetz matrixman |
||
14.06.2004 12:45:09 |
|
||
sniperkid |
thanks i got it now just a quick question in frames how would i change a frame when the page loads, like when you login the nav bar changes to the challenges sort of like that.... Thanks |
||
15.06.2004 10:29:47 |
|