newbie help with passing sensitive information along forms
Posted: Sun Mar 14, 2004 5:10 am
Hi there
I was wondering whether anyone can help a php newbie.
I have a number of forms that the user has to fill out for a project i've done. The user has to fill out personal details, address details and various other bits so i've split the forms over a number of pages.
Each time the user submits a form that info is inserted into a particular table in my db. The user is then sent to the next form with the url appended with variables that i need to collate infomation on that user over the pages. However I know that security wise this is not particularly good as people could just mess around with the url string.
Can anyone tell me a better way of collecting variables that i need over a number of pages, rather than appending the url everytime. I have started looking into session vars. Would this be a better way?
Thanks in advance.
I was wondering whether anyone can help a php newbie.
I have a number of forms that the user has to fill out for a project i've done. The user has to fill out personal details, address details and various other bits so i've split the forms over a number of pages.
Each time the user submits a form that info is inserted into a particular table in my db. The user is then sent to the next form with the url appended with variables that i need to collate infomation on that user over the pages. However I know that security wise this is not particularly good as people could just mess around with the url string.
Can anyone tell me a better way of collecting variables that i need over a number of pages, rather than appending the url everytime. I have started looking into session vars. Would this be a better way?
Thanks in advance.