Don't know if this will help, but $HTTP_POST_VARS is an array similar to the URL parameters (try print_r($HTTP_POST_VARS) to see), which you can then manipulate with all the php array/string functions, without having to previously know how many variables were posted, or what they were called.
Lucas wrote:
Hi,
I've been trying to figure out how to keep the URL parameters (?var1=value1&var2=value2&...) after a POST operation. I know how to get them from $HTTP_GET_VARS, but I need a very generic way so I can get the vars from any URL.
The thing is I have a multilingual site with a <select> which includes the supported languages. If you select any of them it automatically reloads the page and shows the strings in the selected language. The problem is when tha page has parameters, for they are not submitted with the POST.
Any suggestions,
Thank you very much.
Lucas