Page 1 of 1

PHP URL convertor

Posted: Mon Apr 09, 2007 1:19 am
by sarmadmahar
is this possible

http://www.mydomain.com?a=12 i want this as http://www.mydomain.com/sarmadmahar

Thanks


Regards

Sarmad Mahar

Posted: Mon Apr 09, 2007 1:37 am
by andym01480
Please don't post your question twice - it annoys everyone

Your question is a server thing. If you are on an apache server you need to use a .htaccess file. Have a look at http://www.freewebmasterhelp.com/tutorials/htaccess/2 for how to do it

Posted: Mon Apr 09, 2007 8:00 am
by Chris Corbyn
Yes, it annoys me, who's just had to get rid of your duplicates.

You need mod_rewrite.

Posted: Mon Apr 09, 2007 9:50 am
by mentor
I hope this will help you a lot to achieve your required results.

http://corz.org/serv/tricks/htaccess2.php

Posted: Mon Apr 09, 2007 10:29 am
by Oren
d11wtq wrote:Yes, it annoys me, who's just had to get rid of your duplicates.
Relax pal... it happens sometimes. Here is why:

- I write some post and when I'm ready to post I click "Submit".
- While the server was busy processing my request, something caused the server to go down (it happens so many times).
- I wait and wait and wait... but it won't post.
- So I click "Stop" in my browser (Firefox of course) and then click "Submit" again.
- This time it works and it posts my post.
- A moment later I find that it posted it twice - meaning that although it was just loading the page forever and didn't show me my post at first, at posted it.
- This is the time where I go and delete one of them very fast before d11wtq comes and kick my a** :wink:

It happened so many times, have you considered a new host?

Posted: Mon Apr 09, 2007 10:36 am
by John Cartwright
Oren wrote:It happened so many times, have you considered a new host?
Rarely, if ever, does it happen to me. Have you considered a new ISP? :wink:

Posted: Mon Apr 09, 2007 10:39 am
by Oren
Jcart wrote:Have you considered a new ISP? :wink:
I'm not the one who is paying the bills :D

Edit: Oh and it happens only with PHPDN. I don't have any problems with other sites (well maybe with Gmail, but other problems - it takes forever to sign out).