pyrrhus Posted July 1, 2008 Share Posted July 1, 2008 I am thinking about developing a site where I need the user to click on the URL which will then populate a form. One way would be to create a database record and have a 'simple' URL Query ID that just reads the record, and reproduces the form. Problem is that I have never worked with databases - so this isn't my easiest option! I will be generating approx 10 words (up to 100 characters) for the form, and wondered if there was a script I could use that you guys know about that could: 1. Decode the URL so that the data within the URL isn't obvious 2. Shorten the URL a little from the 100+ characters I hope that this makes sense! Any suggestions welcome. Link to comment https://forums.phpfreaks.com/topic/112757-solved-url-query-easiest-way/ Share on other sites More sharing options...
papaface Posted July 1, 2008 Share Posted July 1, 2008 you could try encoding the url using http://uk3.php.net/base64_encode and http://uk3.php.net/base64_decode Link to comment https://forums.phpfreaks.com/topic/112757-solved-url-query-easiest-way/#findComment-579089 Share on other sites More sharing options...
pyrrhus Posted July 1, 2008 Author Share Posted July 1, 2008 That look VERY 'do-able' thanks :-) Link to comment https://forums.phpfreaks.com/topic/112757-solved-url-query-easiest-way/#findComment-579093 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.