Dear Sir,
I would like to do something like below: http://www.myweb.com/user1 ->redirect to http://www.myweb.com/user.php?id=1
http://www.myweb.com/user2 ->redirect to http://www.myweb.com/user.php?id=2
http://www.myweb.com/user3 ->redirect to http://www.myweb.com/user.php?id=3
User just have to key in their URL address, then the PHP will help to redirect to certain page.
Can anyone assists. Thank you very much 🙂
kbt
you need to use mod_rewrite, nothing to do with php.
Sometime we are apply web hosting for third party, so we can't access to their telnet and ssh environment. Any better way to achieve my objective with PHP coding only
It's the web server that decides what to run for each URL that is requested, and it has to do that before it can decide whether or not to run PHP for anything.