Announcement

Collapse
No announcement yet.

php question about $HTTP_POST_VARS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    php question about $HTTP_POST_VARS

    slightly off topic but when I search google for the answer, I get so many answers coming back at me, I don't know where to start.

    the question:
    when I submit a php form, I can retrieve all the values of the "posting form" through the use of $HTTP_POST_VARS. ( and the use of $_POST[...] )

    when I then look at the value of all the $HTTP_POST_VARS, I find entries for forms that I have already processed and moved on from.

    so How long do the $HTTP_POST_VARS last for and how do I remove them to prevent me from re-using the variables in their wrong context (ie use of the go-back button)

    at the moment, anything I want to retain across pages, are set into session variables, if I don't set them, I don't want to use them. - I also make use of the unset($_SESSION[...]); to ensure invalid entries are not being used.

    any help (or pages on the web to help me over this issue) would be gratefully received
Working...
X