in reply to How to submitting data on webpage using script?

Hi,

I do this for POSTs

xmlVal = "Whatever=value"; xmlHttp.open("POST", 'my_prog.pl', true); xmlHttp.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded"); xmlHttp.send(xmlVal);

This allows the POST headers to be read.

J.C.