php4 sessions

From: Date: Thu, 16 Mar 2000 21:32:22 +0000
Subject: php4 sessions
Groups: php.version4 
Request: Send a blank email to php-version4+get-12285@lists.php.net to get a copy of this message
Hi, I have this script in my index page : <?php session_start(); if($PHP_AUTH_USER && $PHP_AUTH_PW){ $user=$PHP_AUTH_USER; session_register("user"); $password=$PHP_AUTH_PW; session_register("password"); $host=$REMOTE_ADDR; $db=mysql_connect($host,$user,$password) or die ("Accès refusé"); mysql_select_db("mydb",$db); $authorized=" onLoad=\"window.open('PFRAME.php?SID=$PHPSESSID','frame','width='+screen.width+',height='+screen.height+',top=0,left=0')\""; } ?> (The page calls itself); The problem is that I get a SID but my variables are not registered ; When I put the SID in my url, I can't find them. My system : W98+apache+mysql+php4 Can anyone help me ? Thanks, Alexis. ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com

« previous php.version4 (#12285) next »