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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic submission of form variables

Status
Not open for further replies.

Mikeinutah

Programmer
Nov 15, 2003
9
US
Hi,

I was wondering if a form can be programmed to automatically be submitted without someone clicking on a submit button.

I need to send some hidden variables to another site for processing and there is no need to have the user click on a button. Is this possible?

Thanks in advance.

Mike
 
Check cpan for the LWP::Simple module, particularly the get() function. Instead of making a form with hidden values to submit to another script, you can just call that script with those values directly before you submit the response page back to the user. Works easier with GET than POST, but many scripts don't care how it's called.

For further details, google for lwpcook.

----------------------------------------------------------------------------------
...but I'm just a C man trying to see the light
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top