Gossamer Forum
Home : General : Perl Programming :

PHP Redirect...

Quote Reply
PHP Redirect...
Hi, does anyone know the code for a PHP page to redirect; say the Perl equivilant of;

print "Location: http://www.somepage.com \n\n";

????

Any ideas would be much appreciated Cool

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: PHP Redirect... In reply to
http://www.php.net/manual/en/function.header.php

-g


s/(\d{2})/chr($1)/ge + print if $_ = '8284703280698276687967';
Quote Reply
Re: PHP Redirect... In reply to
I'm sure you could have found the answer with like 10 seconds of searching at php or even searching Yahoo for "php redirect" Wink

Practice what you preach.

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: PHP Redirect... In reply to
Actually, Paul, I'm not the one who always tells everyone to 'Search The Forums' Wink

Thanks to GClemmons though for the pointer Cool

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: PHP Redirect... In reply to
You are missing the point. Paul was suggesting that YOU search other resources and the support forums before posting questions. He is simply pointing out that you took the easy way out.

Regards,

Eliot Lee
Quote Reply
Re: PHP Redirect... In reply to
I know he was, I just couldn't resist the opportunity to be sarcastic to Paul for once Wink

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: PHP Redirect... In reply to
That's mature Andy.
Quote Reply
Re: PHP Redirect... In reply to
I won't retaliate any further, cos I know that is what you want Wink

Andy

webmaster@ace-installer.com
http://www.ace-installer.com