Stroller
12-23-2003, 11:23 PM
hi
I know there are issues with passing values obtained using javascript then wanting to use them in PHP, so heres where I'm having a problem.
I have vars created in Javascript so have created a cookie containing them, loads new php page and want to load the cookie values back to php so I can write them to MYSQL after verifying more data from the user.
Is this possible, Is this even a workable method, are there better ways to do this, can this even be achieved.
I aam extremely new to this kind of thing so any assistance pointers or even full solutions would be appreciated.
I am using Phorm (form tools) and get the initial javescript vars in my first form but dont want to use them until I have verified all the input from the user contained in aditional forms.
Many thanks:confused:
I know there are issues with passing values obtained using javascript then wanting to use them in PHP, so heres where I'm having a problem.
I have vars created in Javascript so have created a cookie containing them, loads new php page and want to load the cookie values back to php so I can write them to MYSQL after verifying more data from the user.
Is this possible, Is this even a workable method, are there better ways to do this, can this even be achieved.
I aam extremely new to this kind of thing so any assistance pointers or even full solutions would be appreciated.
I am using Phorm (form tools) and get the initial javescript vars in my first form but dont want to use them until I have verified all the input from the user contained in aditional forms.
Many thanks:confused: