gamesmstr Posted October 9, 2008 Share Posted October 9, 2008 I have a game written in php that stores login data in session variables. When these variables are not found, it returns an error code for a blank field. The data is entered into a form and retrieved via $_POST. session_start(); $email=$_POST['email']; $password=$_POST['password']; function error($type){ if($type == "field"){ include "top.php"; echo "<font color=red>You have left fields blank or you have been inactive for more than 5 minutes and your session has expired. Please <a href=\"index.php\">relogin</a></font>"; include "bottom.php";} } if($email == "" || $password == ""){ error("field"); exit; } I have a user using a NOKIA 7650 and using Doris Browser 1.8 that gets the blank field error on attempting to login. My only guess is that somehow the variables are not retrieving properly. Any suggestions? Quote Link to comment https://forums.phpfreaks.com/topic/127640-cell-phone-cant-login/ Share on other sites More sharing options...
Maq Posted October 9, 2008 Share Posted October 9, 2008 Does it work on all other browsers? Maybe that Doris browser doesn't support something he needs. Quote Link to comment https://forums.phpfreaks.com/topic/127640-cell-phone-cant-login/#findComment-660650 Share on other sites More sharing options...
gamesmstr Posted October 9, 2008 Author Share Posted October 9, 2008 works on firefox and IE. I don't know about other cell phone browsers. Quote Link to comment https://forums.phpfreaks.com/topic/127640-cell-phone-cant-login/#findComment-660923 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.