...

View Full Version : GET/POST question



tr3online
01-26-2009, 07:14 AM
Hi guys,
I'm trying to access some data on another server via POST, ie:



<FORM ACTION="http://www.server.com/cgi-bin/what.cgi" METHOD="POST">
<INPUT NAME="file_no" value="29638">
<INPUT NAME="idkdk" value="klflg;fl">
<INPUT type="submit" value="Send">
</FORM>


and was wondering if there was any way to get such data without having to 'push' submit to POST the data. Ideally via JavaScript or PHP (without cURL, since I cannot add that to my web host).

Thanks in advance!
Tre

primefalcon
01-26-2009, 08:21 AM
curl for php and and for javascript you could just use the ajax method

tr3online
01-26-2009, 05:11 PM
Thanks for the response.
Have a link of any examples of that? I was trying to play with the AJAX one a bit earlier yesterday and it wasn't working :\

lokeshshettyk
02-04-2009, 07:43 AM
Try this one, will surely help (PHP though), check out the section "See Also"

http://in2.php.net/function.file-get-contents


Cheers :)
~LSK



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum