Forum Moderators: buckworks
I'm preparing detailed specs for someone helping me with e-commerce integration. We are using the Paypal button to pass a varible:
"cookiedata is the variable that you have to get from the cookie.
To get its value from the cookie, you can use either PHP code (if your page has .php extension), or JavaScript function (if it is HTML page)."
I prefer .htm for easy design changes, and have little real experience with either option. Being client-side seems to be an advantage for Javascript. Is there any sound reason why I would "need to use" PHP here, or will this type of Javascript function well, in most browsers?
Thank you very much.