View: 2363|Reply: 11
|
URL Rewriting / mod_rewrite question (100 credits for right answer)
[Copy link]
|
|
Ni nak mintak tolong sikit.
Katakan I ada satu website namanya http://www.shahnazz.com
Then katakan I buat macam virtual subdomain, I nak dia rewrite jadi macam ni:
http://user1.shahnazz.com --> http://www.shahnazz.com?uid=user1
http://user2.shahnazz.com --> http://www.shahnazz.com?uid=user2
Gedek-gedek dalam Google, I kena guna mod_rewrite. Kalau sesiapa boleh tolong bagi jawapan I bagi 100 kredit for your answer.
Tolong yer. Thanks.
[ Last edited by shahnazz at 21-9-2007 12:32 PM ] |
|
|
|
|
|
|
|
nak hide tau la...tapi kalo nak dummy memang tak tau |
|
|
|
|
|
|
|
Reply #2 orang_letrik's post
kalau hide u buat macam mana? use session vars ke? |
|
|
|
|
|
|
|
Reply #4 liverpoolfctv's post
Huih bestnye nanti saya try.
Kalau menjadik I bagi 100 credits... thank youuuuu... |
|
|
|
|
|
|
|
wahh 100?? kalu camtuh.. kene bsunguh2 nih.. |
|
|
|
|
|
|
|
aik shannaz senyap jer.. btul tak btul coding i kasi tuh.. |
|
|
|
|
|
|
|
sabo, lum try live lagi, jgn takut kalau betul jadik i bagi 100 kredit yer, sibuk sikit ngan project lain |
|
|
|
|
|
|
|
hang nih keje it ker?? byk project lak tuh |
|
|
|
|
|
|
|
Reply #9 liverpoolfctv's post
yeh... skang tengah sibuk beraye
ada projek ker? he he he |
|
|
|
|
|
|
|
Reply #7 liverpoolfctv's post
|
|
|
|
|
|
|
aku pun tak pernah try, tapi rasanya cara yang diberi oleh bro/sis kat atas tu dah betul sebab aku pernah baca, nak buat mod_rewrite kena letak something kat .htaccess
hehehe |
|
|
|
|
|
|
| |
|