note 52930 rejected from function.session-start by nlopess

From: Date: Wed, 18 May 2005 12:47:33 +0000
Subject: note 52930 rejected from function.session-start by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-89587@lists.php.net to get a copy of this message
Note Submitter: jackline dot hunter at gmail dot com ---- i need to do the following, and i have tried the code below (alternating using ob_start() - but it does not work) one of the requirements is that the first page will have to use http meta refresh to transfer to the second page. *page1: namesave.php?name=BOB starts session with variable "name" http refresh - redirects to page2. *page2: loadvars.php echo "nameField="; echo $name; code for embedding flash movie the data is fed into a loadVariablesNum function in a flash movie in the same page. my code for page1: <?php session_start(); session_register("name"); //echo "nameField="; //echo $name; ?> <HTML> <HEAD> <meta http-equiv="refresh" content="1;url=loadvars.php"> <TITLE>Redirection</title> </HEAD> <body bgcolor="#CCCCCC"> <?php echo "nameField="; echo $name; ?> my code for page2: <font color="CCCCCC" size=1><?php echo "nameField="; echo $name; session_unset(); session_destroy(); //session_unregister(); ?> </font> <HEAD> <meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1"> <TITLE>loadvars</TITLE> </HEAD> <BODY bgcolor="#CCCCCC"> <!-- embed flash movie --> please help. i am actually a designer (with little php experience) trying to put something together. i have wasted the last 4 hours fumbling over this... HELP!! please email. thanks jh.

« previous php.notes (#89587) next »