Forum Moderators: coopster

Message Too Old, No Replies

Need help with URL encoding

Need help with URL encoding

         

jeephp

6:16 am on Jul 15, 2005 (gmt 0)

10+ Year Member



Hi,
I need some help with URL encryption or something similar. For example I have a URL [myurl.com...] but I do not want it to be displayed with the parameters rather I would like it to be displayed as [myurl.com...]

What is the best and the most secure way to do this in PHP, I am developing the site on Windows 2003 Enterprise Server Platform and hosting in IIS 6.0.

Does PHP have some inbuilt function to do this or I would have to use a 3rd party tool for this.

Any advice on this would be highly appreciated.

Thanks

Blackie

7:13 am on Jul 15, 2005 (gmt 0)

10+ Year Member



You can simply write all the variables into a database together with this unique id that you generated and then select everything from DB when you need it.

Angelis

10:38 am on Jul 15, 2005 (gmt 0)

10+ Year Member



You could change the form method to post which would remove the stuff in the address bar altogether, if you then set the action field to something with the ID in it then you can display it the way you want it without much hassle.

You would have to change any database querys though to make it work.

Anyango

11:37 pm on Jul 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



i think Blackie's Suggestion would work perfect for this.