DS HomeDev Shed | JSP Free | Dev Articles | Scripts | Dev Hardware | Dev Archives | SEO Chat | Dev Mechanic | Web Hosting
       Perl Programming
 
 Forums: » Register « | User CP  |  Calendar  |  Members  |  FAQs  |  Archives  | Support  | 
 
User Name:
Password:
Remember me
 

CGI POST question

Viewing: Dev Shed Forums > Programming Languages > Perl Programming > CGI POST question

Reply
>> Search Engine Optimization <<
 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old September 29th, 1999, 03:24 AM
apyles
Guest
White Belt (0 - 
249 posts)
 
Posts: n/a
Time spent in forums:
Reputation Power:
With html, it is relatively simple to create a webform with a submit button with a line such as:
<form>
<FORM ACTION="postings.cgi" METHOD="POST" NAME="PostTopic">
<B>Your UserName:</B><INPUT TYPE="TEXT" NAME="UserName" SIZE=25 MAXLENGTH=25>
<INPUT TYPE="SUBMIT" NAME="Submit" VALUE="Submit New Topic">
<INPUT TYPE="RESET" NAME="Reset" VALUE="Clear Fields">
</form>
( modified from the source on this page. )

Now what is actually going on with the above code is the actual post is actually being done from my browser.. i.e. when I select "submit new topic" my browser will actually be doing the post..

So, with that in mind, what I am missing, is how do you create a cgi script that will post data by itself to another script that will then return a value without using the browser? Anyone got any pointers? maybe an example bit of code?
Let me give a concrete example: Authorize.net (which provides credit card processing ) has an asp script running that will accept an https POST of credit card numbers, and will then submit a response.. so what I'm trying to do is write a cgi script that will post this information from a cgi script to the asp script, and then based upon the response have the cgi script then return a response to the users browser.

Any pointers / help would be greatly appreciated.

-Andy
Reply With Quote
  #3  
Old August 30th, 2003, 12:20 PM
11
Black Belt 
8th Degree (4250 - 4499 posts)
 
Join Date: Jul 2001
Location: Lynn, MA
Posts: 4,309 Hero Zzyzzx is on a 
distinguished road
Time spent in forums: 16 h 12 m 59 sec
Reputation Power: 8
Send a message via AIM to Hero Zzyzzx
Dude: This is almost four years old. . .
Reply With Quote
  #4  
Old August 31st, 2003, 01:55 PM
Member
White Belt (0 - 
249 posts)
 
Join Date: Jan 2003
Posts: 48 motiv8x is off the scale
Time spent in forums: < 1 sec
Reputation Power: 0
heh, yeah I noticed that after I posted it.
Reply With Quote
Reply


CGI POST question

Viewing: Dev Shed Forums > Programming Languages > Perl Programming > CGI POST question


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Forums:» Register « | User CP  |  Calendar  |  Members  |  FAQs  |  Archives | Support |
    
 



Dev Shed Forums  |  ASP Free Forums  |  Dev Articles Forums  |  Dev Hardware Forums  |  SEO Chat Forums
© 2001-2005. All rights reserved. (Privacy Policy) Dev Shed Cluster 1 hosted by HostwaySupport