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 ![]() |
||
![]() |
|
||
cyph1e![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
You gotta use sessions, from reading your post, it seems that you are not. |
||
![]() |
|
||
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 ![]() |
||
![]() |
|
||
matrixman![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Hi, i think this is the correct way: if(....) { echo "<meta http-equiv=\"refresh\" content=\"2 ; URL=adress.php\"> "; } ![]() greetz matrixman |
||
![]() |
|
||
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 |
||
![]() |
|