I need to pass some variables from one script to another, and since there is so many i use $HTTP_POST_VARS to get the values, but i would allso like to get the "fieldnames" from the submitionform aswell, is this possible??
How can you use $HTTP_POST_VARS and not get/know the field names? $HTTP_POST_VARS is an associative array...
What is your problem exactly?
well, i ofcourse i know the fieldnames, but there's about30 of them and in the script i pass them on to i use a fopen-function to open a new url, and need to pass the same var-names that i used in the form........not a good explanation i know.
Read the php manual about the array functions.
use each() to get the key/value combo. there is an example in the manual.
BTW, if you are going to pass many vars on a regular basis, consider using sessions instead.