How to shorten an URL in PHP?
Posted: Wed May 23, 2007 12:51 pm
Dear all,
i am having a very big problem at the moment,someone is designing my future website and told me that one of my request was impossible.
they have created a website where bands will open an account and have their own page.the problem is i need the band name to follow the site url.
ie:
if the site is called:
http://www.thisismysite.com
and a band called bhfffr open an account with us,i would like the band to put their band name is a requiered input field and then get a url specially for them like this one:
http://www.thisismysite.com/bhfffr
and not something like i am actually having:
http://www.thisismysite.com/store.php/bhfffr
is this possible in php?
the programmers i have hired told me this could cause a security problem because the file name would be seen by everyone.
the question is:
how can big sites like http://www.soundclick.com provide this kind of service???
how does all of this work,has anyone an idea please????
thank you very much ,
regards to all.
ben
i am having a very big problem at the moment,someone is designing my future website and told me that one of my request was impossible.
they have created a website where bands will open an account and have their own page.the problem is i need the band name to follow the site url.
ie:
if the site is called:
http://www.thisismysite.com
and a band called bhfffr open an account with us,i would like the band to put their band name is a requiered input field and then get a url specially for them like this one:
http://www.thisismysite.com/bhfffr
and not something like i am actually having:
http://www.thisismysite.com/store.php/bhfffr
is this possible in php?
the programmers i have hired told me this could cause a security problem because the file name would be seen by everyone.
the question is:
how can big sites like http://www.soundclick.com provide this kind of service???
how does all of this work,has anyone an idea please????
thank you very much ,
regards to all.
ben