Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Need help with URL encoding
Old 07-15-2005, 01:36 AM Need help with URL encoding
Novice Talker

Posts: 12
Trades: 0
Hi,
I need some help with URL encryption or something similar. For example I have a URL http://www.myurl.com/search.php?iu=3...v1=y&u=12qazxq but I do not want it to be displayed with the parameters rather I would like it to be displayed as http://www.myurl.com/search.php?id=e...sdh347ueir3948

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
jeephp is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-15-2005, 06:35 AM
Novice Talker

Posts: 8
Trades: 0
Simple encrypt the parameters and then decrypt them while you are reading them. You don't need any 3rd party tool

You can use for example mcrypt http://us2.php.net/manual/en/ref.mcrypt.php

To encrypt them and then it will send it to

http://www.myurl.com/search.php?id=4...3fdsfsd4324234

And then you would decrypt the id in the result of the search.php
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
andrade is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Need help with URL encoding
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.10010 seconds with 12 queries