does someone can help me , how to change
http://www.mysite.com/myname
to
http://www.mysite.com/index.php?uid=myname
thx
need help
Moderator: General Moderators
Re: need help
I suspect you want url rewriting, but as you didn't specify I'll answer exactly what you posted:
If this isn't what you were after perhaps you'd like to give some more detail.
Code: Select all
$url = "http://www.mysite.com/myname";
$url = str_replace("http://www.mysite.com/","http://www.mysite.com/index.php?uid=",$url);Re: need help
Also please be more descriptive with your titles. Of course you 'need help'. As everyone on here posting threads does; so writing that is kind of redundant. Kind of like putting the title as 'I live on earth, I am human and would like PHP help'.
Try and be a bit more descriptive in future or people might not read your thread.
Try and be a bit more descriptive in future or people might not read your thread.
Re: need help
tq so much for onion2k for the answer
and sorry for panic, because i don't know how to describe the subject for my question, hehehehe,
i will more descriptive with my next question
tq all
and sorry for panic, because i don't know how to describe the subject for my question, hehehehe,
i will more descriptive with my next question
tq all