Re: [PHP] Re: changing to a different file in browser

2001-07-08 Thread Brad Wright
ect to the database > . > . > . > > just curious ;) > > > > ::-Original Message- > ::From: Brad Wright [mailto:[EMAIL PROTECTED]] > ::Sent: Thursday, July 05, 2001 5:20 PM > ::To: PHP General List > ::Subject: RE: [PHP] Re: changing to a diff

Re: [PHP] Re: changing to a different file in browser

2001-07-05 Thread Brad Wright
06 Jul 2001 14:39:05 +1000 > To: Brad Wright <[EMAIL PROTECTED]>, PHP General List > <[EMAIL PROTECTED]> > Subject: RE: [PHP] Re: changing to a different file in browser > > You didn't quite get what I meant - in login.php, you have two lumps > of PHP code ( l

RE: [PHP] Re: changing to a different file in browser

2001-07-05 Thread Brian White
> >I still get the same error.. > > > >any ideas??? > > >cheers, >brad > > From: Brian White <[EMAIL PROTECTED]> > > Date: Fri, 06 Jul 2001 13:59:45 +1000 > > To: Brad Wright <[EMAIL PROTECTED]>, PHP General

RE: [PHP] Re: changing to a different file in browser

2001-07-05 Thread Brad Wright
** I still get the same error.. any ideas??? cheers, brad > From: Brian White <[EMAIL PROTECTED]> > Date: Fri, 06 Jul 2001 13:59:45 +1000 > To: Brad Wright <[EMAIL PROTECTED]>, PHP General List > <[EMAIL PROTECTED]> > Subject: Re: [PHP] Re: changing to a dif

Re: [PHP] Re: changing to a different file in browser

2001-07-05 Thread Brian White
{ >header("Location: menu.php"); >exit; } >?> > > >* > >menu.php >?> >test >**************** > >I hope you can see a glareingly obvious problem that i can't > >Cheers, >Br

Re: [PHP] Re: changing to a different file in browser

2001-07-05 Thread Brad Wright
reingly obvious problem that i can't Cheers, Brad > From: "..s.c.o.t.t.." <[EMAIL PROTECTED]> > Date: Thu, 5 Jul 2001 23:13:09 -0700 > To: "Php-General" <[EMAIL PROTECTED]> > Subject: RE: [PHP] Re: changing to a different file in browser > > even a

RE: [PHP] Re: changing to a different file in browser

2001-07-05 Thread ..s.c.o.t.t..
Sent: Thursday, July 05, 2001 19:47 > To: Brad Wright; PHP General List > Subject: Re: [PHP] Re: changing to a different file in browser > > > If you use Header after ANY page output, even a space, it will not work > - Original Message - > From: "Brad Wright"

Re: [PHP] Re: changing to a different file in browser

2001-07-05 Thread Chris Anderson
If you use Header after ANY page output, even a space, it will not work - Original Message - From: "Brad Wright" <[EMAIL PROTECTED]> To: "PHP General List" <[EMAIL PROTECTED]> Sent: Thursday, July 05, 2001 10:25 PM Subject: Re: [PHP] Re: changing to a diff

Re: [PHP] Re: changing to a different file in browser

2001-07-05 Thread Kurt Lieber
d. --kurt - Original Message - From: "Brad Wright" <[EMAIL PROTECTED]> To: "PHP General List" <[EMAIL PROTECTED]> Sent: Thursday, July 05, 2001 7:25 PM Subject: Re: [PHP] Re: changing to a different file in browser tried it, but it didn't work... still getting

Re: [PHP] Re: changing to a different file in browser

2001-07-05 Thread Brad Wright
, 5 Jul 2001 22:32:22 -0700 > To: "Php-General" <[EMAIL PROTECTED]> > Subject: RE: [PHP] Re: changing to a different file in browser > > put "Location" before the URL: > > header("Location: http://server.com/file.php";); > or > header(&q

RE: [PHP] Re: changing to a different file in browser

2001-07-05 Thread ..s.c.o.t.t..
put "Location" before the URL: header("Location: http://server.com/file.php";); or header("Location: ./file.php"); > -Original Message- > From: Brad Wright [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 05, 2001 18:54 > To: PHP General L

Re: [PHP] Re: changing to a different file in browser

2001-07-05 Thread Brad Wright
ihave tried the header() function as Julio suggested. But I get an error message in the browser. I am also using session variables in all these pages (only 2). My code : if (!mysql_numrows($result) ) { die ( "username/password not valid"); } else{ header("Menu.php"); } the error message