View Full Version : Sending POST data without a form

08-23-2007, 02:19 AM
Hey all!

Just wondering if it's possible to submit a POST form without actually outputing the form to the user first.

I'm communicating with an API that accepts POST data, but was hoping there was a better or more secure way of sending POST variables/values than creating a php/html page that submits a hidden form after 0, 1 or 2 seconds using meta tags.

Not urgent or vital, but more of a ponder.


08-23-2007, 02:22 AM
This could be done with PHP's CURL library, or fsockopen() as a non-CURL option.

08-23-2007, 02:25 AM
fsockopen() ! Ofcourse!! thanks.


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum