Login   Register  
PHP Classes
elePHPant
Icontem

File: LoginProcess.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of raja  >  Login and DB classes quick start  >  LoginProcess.php  >  Download  
File: LoginProcess.php
Role: Example script
Content type: text/plain
Description: LoginProcess (varification from DB)
Class: Login and DB classes quick start
Authenticate users with records in MySQL database
Author: By
Last change:
Date: 6 years ago
Size: 731 bytes
 

Contents

Class file image Download
<?php
require_once dirname(__FILE__)."/includes/EasyFunctions.php";
require_once 
dirname(__FILE__)."/includes/agentLogin.class.php";
StartSessionIfNot();
if(
$_POST){
    
$objLogin=new clsLogin();
    
$objLogin->LoginProcessor();
    
// echo "<br />  <pre>  <br />";
// printr($_POST);
    // echo "<br />  </pre>  <br />";
    
     
    
}
elseif(isset(
$_SESSION['agentEmail']) && $_SESSION['agent']=="yes"){
    
//header("Location: index.php");
    //exit;
}

/* else
{
?>
<script language="javascript">
window.location = "ringtoneDetails_new.php?ringid=<? echo $ringId; ?>";
</script>
<?

}
*/
$target=GetScriptName();
if(isset(
$_GET['msg'])){
    
$msg=$_GET['msg'];
}else{
    
$msg=$Message;
}
//include "header.php";
?>