Re: [PHP] Re-directing

2002-07-24 Thread Martin Clifford
t; Well you can actually, If you start your script IMMEDIATELY (well before you output anything) with: To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, July 25, 2002 12:47 AM Subject: Re: [PHP] Re-directing PHP redirects using the header() function, but it's not very use

Re: [PHP] Re-directing

2002-07-24 Thread Chris Sharkey
Well you can actually, If you start your script IMMEDIATELY (well before you output anything) with: To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, July 25, 2002 12:47 AM Subject: Re: [PHP] Re-directing PHP redirects using the header() function, but it's n

Re: [PHP] Re-directing

2002-07-24 Thread Martin Clifford
PHP redirects using the header() function, but it's not very useful if information has already been sent to the browser. ANY information, including a hard return. So if you have a login script, you would start your session, register any variables, then redirect. That would do the trick. B

RE: [PHP] Re-directing

2002-07-24 Thread Balaji Ankem
Use header() function.. Header('Location: script name'); Best Regards Balaji -Original Message- From: Roberts, Mark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 7:58 PM To: PHP Mailing list (E-mail) Subject: [PHP] Re-directing Is there a way to redirect to a different sc

Re: [PHP] Re-directing

2002-07-24 Thread B i g D o g
Check under header() in the docs... .: B i g D o g :. - Original Message - From: "Roberts, Mark" <[EMAIL PROTECTED]> To: "PHP Mailing list (E-mail)" <[EMAIL PROTECTED]> Sent: Wednesday, July 24, 2002 8:28 AM Subject: [PHP] Re-directing > Is there a way to redirect to a different scri

RE: [PHP] Re-directing

2001-05-17 Thread scott [gts]
B. van Ouwerkerk [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 16, 2001 4:58 PM > To: scott [gts] > Subject: RE: [PHP] Re-directing > > > At 14:56 16-5-01 -0400, you wrote: > >if you need to redirect a page, why not juse use > >header("Location: ./newurl.php");

Re: [PHP] Re-directing

2001-05-16 Thread B. van Ouwerkerk
> >If you're hosting on a apache box you could have something like > >DirectoryIndex start.php Forgot to mention: You can add this to .htaccess Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Re: [PHP] Re-directing

2001-05-16 Thread B. van Ouwerkerk
>I use a little bit of javascript ... > > > location = "newURL.php"; > > >inside the tags. ouch. Say I've got javescript disabled.. what happens.. exactly.. nothing. I hate clientside cause I can't control it. If you're hosting on a apache box you could have somethin

Re: [PHP] Re-directing

2001-05-13 Thread Raquel Rice
Todd Cary wrote: > > In my Index.html, what do I write so that the Surfer goes to my > Start.Php? > > Todd I use a little bit of javascript ... location = "newURL.php"; inside the tags. -- Raquel If a ma

Re: [PHP] Re-directing

2001-05-12 Thread Young Chi-Yeung Fan
Todd Cary wrote: > In my Index.html, what do I write so that the Surfer goes to my > Start.Php? It should work to have this after your opening HTML tag in index.html: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail