Click to See Complete Forum and Search --> : Sending Javascript variables to a php script


peterlustig
09-04-2003, 03:15 AM
i want to send the collected javascript information to a php script on the server.
the problem is that the user should not see this.
the user just has to open the usual html page where the javascript is collecting information like monitor resolution etc and then, still on the same page has to send it to a php document on a server where i can analyse the collected data.

how can a make it?

Khalid Ali
09-04-2003, 08:00 AM
You will need to send the data using http request,whether you use GET and apend data to the url or you use post,Though I don't like anything that is done behind the curtain and user do not know about it, however you can probably create hidden frame,set the value to some fields in that frame and submit that frame,,never done it ,but thinking it might work.