You are here: Compressing a string with URL safe characters « All PHP « IT news, forums, messages
Compressing a string with URL safe characters

Posted by Gerry Vandermaesen on 09/19/06 08:45

Hi all,

What would be the best way to encode and optimally also compress a long
string with URL unsafe characters to be passed as a GET parameter?

Example string:

/search.ds?&what=hotel&where=antwerpen&when=&startingPageNumber=1&stageName=What%20search&originalOffset=1&expandWWWSearch=false&myplaces=false&activeRefinements=locality4..%3D..Antwerpen..%26..Antwerpen&distance=0&searchType=www&activeSort=-beyprandom1%20-beboost%20-boost3&phoneNumberSearch=false&debug=&excludeZone=false&alphaRefineable=AY52%7CBN18%7CCN30%7CDN53%7CEN10%7CFN16%7CGN10%7CHN56%7CIN9%7CJN3%7CKN10%7CLN8%7CMN23%7CNN7%7CON7%7CPN13%7CQN1%7CRN10%7CSN19%7CTN29%7CUN0%7CVN26%7CWN5%7CXN0%7CYN0%7CZN1%7C%5B0-9%5DN0&headingNumber=&adtype=xml.click&partnerId=&mfinfo.partner_id=&encodedRefinement=heading..%3D..%5EKoffiezetmachines%24..%26..Koffiezetmachines

(yes I know the example is an URL itself, but I need the entire string
to be passed as a GET parameter)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация