FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Redirection to URL





ftv_flung
How do I make one of those redirection scripts that links to...

redirect.php?url=http://www.example.com

I'm not sure how to set this up. I'm pretty sure it needs a GET, Header.. can someone help me out with writing something?



Thanks!

ftv_flung
DanielXP
Code:
<?php
header("Location: " . $_GET[url]);
?>




Try that
Related topics
Problem with Subdomains
why no hosting under .com
Url Forwarding
image
URL redirectors and search engines
URL Redirection Error?
Countdown Javascript with PHP variables
REDIRECTION
URL Redirection - Javascript+HTML, so simple...
URL Cloaking / mod_rewrite advice needed
URL rewriting
Redirection code for deleted URL...
301 redirection in PHP and .htaccess
Domain pointer not working
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.