Hi,
How do I automatically redirect a user to another URL if they arrive at a page using PHP or otherwise?
Many thanks
Mark
[Solved] Redirecting URLs?
Moderator: General Moderators
Code: Select all
header("location: http:www.myurl.com");-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
as patrick said:
this cannot be called before any output to the browser by the way
Code: Select all
header("location: http:www.example.com");