LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 


Prev Previous Post   Next Post Next
  #1  
Old 01-22-2004, 10:31 PM
dv8's Avatar
dv8 dv8 is offline

Admin Mod
 
Join Date: Mar 2001
Posts: 2,053
Rep Power: 15
dv8 is on a distinguished road
Page Not Found... Session problem

This is first time I've ever encounted this.
I'm using a form to submit some variables to $PHP_SELF
Then with these submitted variables I'm starting a session and storing them.
After the variables are registered I redirect the use to another PHP script.
Yet everytime I rework the code I get the same error
"Page Cannot Be Found"

Example Code
PHP Code:

// form submitted

    
    
include("global.php");
    
    
$user trim(stripslashes($user));
    
$pass trim(stripslashes($pass));
    
    
// store the details in session variables
    
session_start();
    
session_register("SESSION");
    
session_register("SESSION_USER_NAME");
    
session_register("SESSION_USER_PASS");
    
    
// assign values to the session variables
    
$SESSION_USER_NAME $user;
    
$SESSION_USER_PASS $pass;
    
    
// redirect user to the list page
    
header("Location: list.php"); 
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash buttons to send session variables in php saxy46 Flash 8 3 01-29-2007 06:06 PM
alternating movie levels borago Flash MX 2004 1 12-26-2006 06:05 PM
home page to splash page datswhutsup Newbies 0 07-26-2006 03:37 AM
Need Flash Page to Benefit Charity The_Mike Work/Job Opportunities 0 04-27-2006 09:11 PM
The Page Turn Effect morgue Flash MX 2004 3 11-17-2005 04:37 PM




All times are GMT. The time now is 06:18 AM.