Re: Browser Problem? Coding Problem? Session Problem?

From: Date: Fri, 11 Apr 2003 05:55:01 +0000
Subject: Re: Browser Problem? Coding Problem? Session Problem?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-143453@lists.php.net to get a copy of this message
No. That's not the problem. I can't get any post variables from the form. I tried print_r($_POST); at the top of every page and nothing happens. (The source shows Array () at the top). I did notice that mozilla is adding a <input type="hidden" name="PHPSESSID" value=" _session_id_ "> where session_id is a bunch of random numbers. On Thu, 2003-04-10 at 21:51, Burhan Khalid wrote: > On Fri, 2003-04-11 at 00:45, Mike wrote: > > Hi all, > > > > I've tried this on Mozilla 1.3, 1.4a and IE 6. It works on IE 6, but not > > mozilla. (Or at least it doesn't seem to.) I've tried clearing my > > caches, cookies, everything (even unsetting all session variables). > > > > It's a login page: > > > > session_start(); > > if ($_SESSION['logged_in'] == true && $_SESSION['username']) { > > header("location: index2.php"); > > } > > change location to Location and see if that helps. > > Headers are case sensitive. > > -- > Burhan Khalid > phplist[at]meidomus[dot]com > > Please add a reply-to: header > in your messages that points > to the mailing list address > so that all mail is properly > archived and viewed.

« previous php.general (#143453) next »