View Single Post
  #2 (permalink)  
Old 01-03-2008, 12:47 AM
John's Avatar   
John John is offline
Co-Administrator
 
Join Date: Jul 2006
Age: 20
Posts: 3,428
Last Blog:
Google Web Toolkit
Credits: 1,208
Rep Power: 20
John has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond repute
Send a message via AIM to John Send a message via MSN to John
Default

untested:
PHP Code:
<?php
if(isset($_GET['SITENAME']) {
    
header("Location: http://www.{$_GET['SITENAME']}.com");
}
?>

<form name="input" action="index.php" method="get">
<input type="text" name="SITENAME" value="" size="20">
<input type="submit" value="Submit">
</form>
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Blog
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Reply With Quote