i have to urls going to the same page and was wondering if its possible to use an if statement on the url to send it elsewhere
ie
If ($url == www.url1.com)
goto this page (page1.php)
elseif ($url == www.url2.com)
goto this page (page2.php)
i know that code isnt correct, and i know how to use header functions to change pages, but was wondering if u can do it using the url inputted by the user