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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.