PDA

View Full Version : html search string


karim
5th of May 2005 (Thu), 11:08
Hi all,

For example:
http://abcdef.com/gallery/list.php?exhibition=44 gives me all the images in that exhibition. What would I add to "http://abcdef.com/gallery/list.php?exhibition=44" in order to get images from country A or country B, etc?

If I enter specific country keywords in the search box, the returned http address is always the same: http://abcdef.com/gallery/list.php and I can't figure out what string is passed onto mySQL... I hope that makes sense.

Thanks

Pekka
5th of May 2005 (Thu), 11:46
Can be done. This is a bit "hidden knowledge", though, but most of it is in http://photography-on-the.net/forum/showthread.php?p=94126#post94126

The country search row needs a language identifier, e.g.

http://photography-on-the.net/gallery/list.php?exhibition=1&search_row=ee_country_eng.ee_country_name&keyword=por&lang=eng&perpage=5

The uncookied system will handle the most complex URL's with one id, like http://photography-on-the.net/gallery/list.php?u=8925-0 . The culprit is that when you purge the uncookied data the URL does not get you to same parameters, i.e it is id dependent.