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
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
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
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
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
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");
>
>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
>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
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
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
10 matches
Mail list logo