|
-
Sep 26th, 2002, 10:34 AM
#1
Thread Starter
Addicted Member
PHP Redirect
I wanted to confirm something.
Let's say that http://www.foo.com/index.php checks for a "Have you been here before cookie" and then redirects you to http://www.foo.com/foo/index.html. Is this correct, and if so, what does it do? Does it just simulate a meta tag, or do a server side switch?
Code:
<?php
header("Location: /foo/index.html");
?>
Travis, Kung Foo Journeyman
Web Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.5 Guide and Reference
Perl: Documentation, Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
OSS: Mozilla, MySQL (Manual)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|