Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getURL and POST - am I missing something?

Status
Not open for further replies.

jonperks

Programmer
Nov 19, 2003
40
GB
When I click a button the below code sends me to the url witha long query string with all my variables.

Code:
myButton.onRelease = function(){
	getURL("[URL unfurl="true"]http://www.domian.com",[/URL] "_self", "GET");
}

Works great. However I want it to look tidy and want to send the variables via POST...

Code:
myButton.onRelease = function(){
	getURL("[URL unfurl="true"]http://www.domian.com",[/URL] "_self", "POST");
}

It just doesn't work. Makes no sense to me... I know the variables are ok as GET works fine.. Any ideas?
 
LoadVars works fine - however I need to got to the page at the same time...
 
I've always used LoadVars for processing stuff with PHP in the background. Form submits etc... I've just tried it again now and it doesn't send me to the page?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top