Jump to content

Cell phone can't login...


gamesmstr

Recommended Posts

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?

Link to comment
https://forums.phpfreaks.com/topic/127640-cell-phone-cant-login/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.