Iwas referred here by phpfreaks, they said it can be done with .htaccess.
I have a php script that redirects the url input into the address bar by a surfer
user types in address bar:
mysite.com/usersite
user gets to user site but the address bar now shows the redirect url
mysite.com/redir?usersiteid=389
this is part of the existing code:
- Code: Select all
header("Location: http://" . $_SERVER['HTTP_HOST'] . "/redir?usersite=$usersiteid");
}
else
{
header("Location: http://" . $_SERVER['HTTP_HOST'] . "/infoseek.php");[ /code]
what i want to happen is:
the address bar keeps what the user types in and not the redirect url
help please