Go to Post FIRST is not really located in Manchester NH but with each student and mentor involved - UCGL_Guy [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-10-2002, 04:13
Barry Lamb Barry Lamb is offline
Registered User
no team
 
Join Date: Oct 2002
Location: GA
Posts: 4
Barry Lamb is an unknown quantity at this point
Can anyone explain how an http protocol is made?

Hi,
I'm having a problem making an http protocol. I have all the XML tags and the information that I need to send to the server, but can't for the life of me figure out how to set the headers and send the information to the server via an http protocal.

Any help would be greatly appreciated.
Thanks

I can be emailed at
sales@bllamb.com
  #2   Spotlight this post!  
Unread 13-10-2002, 05:30
FotoPlasma FotoPlasma is offline
\: |
no team
 
Join Date: Jul 2001
Rookie Year: 2001
Location: San Jose
Posts: 1,900
FotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond repute
Send a message via AIM to FotoPlasma
I'm really not sure of the question, but this might help, somehow...

http://www.ietf.org/rfc/rfc2616.txt
__________________
I played hacky sack with Andy Baker.

2001-2004: Team 258, The Sea Dawgs
2005: Team 1693, The Robo Lobos
  #3   Spotlight this post!  
Unread 13-10-2002, 14:08
Barry Lamb Barry Lamb is offline
Registered User
no team
 
Join Date: Oct 2002
Location: GA
Posts: 4
Barry Lamb is an unknown quantity at this point
Hi,

Thanks,
The part that is confusing me is the actual sending of the information via an http protocol.

What I'm wanting to do is send a webform to an URL.
I have the info to send, just can't seem to send it.


When I send the information via formail, I would use
<FORM ACTION ="/cgi-bin/formmail.pl"METHOD="POST">

What would be form action be for sending to a URL.
<FORM ACTION = http://www.url goes here> ????



Thanks.
  #4   Spotlight this post!  
Unread 13-10-2002, 14:21
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
It should be the same syntax as the example you gave that works. As far as I know, you can just write

<FORM ACTION = "http://www.your-url.com/path-to-script/script.pl" METHOD="POST">

html/xhtml just resolves the "/cgi-bin/formmail.pl" to the full address based on the path of the current page--it's just shorthand that makes maintainance a little easier.

If this isn't what you're looking for, or if it doesn't work, could you explain what exactly you are trying to do? Are you trying to send data to another webserver from your site?
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #5   Spotlight this post!  
Unread 13-10-2002, 14:37
Barry Lamb Barry Lamb is offline
Registered User
no team
 
Join Date: Oct 2002
Location: GA
Posts: 4
Barry Lamb is an unknown quantity at this point
Thanks,
I think I see now what I'm missing.

I need a script to put in a folder on my website to reference too?

Any idea where I would get a script for this?

What I'm trying to do is send info to Ebay's API

Thanks,

Barry
  #6   Spotlight this post!  
Unread 13-10-2002, 16:44
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Have you checked the eBay documentation? I'm not familiar with their system, but you shouldn't need any script on your side. You may need to pass in a user name/password somehow, but only eBay could tell you the specifics for their system.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #7   Spotlight this post!  
Unread 13-10-2002, 17:59
Barry Lamb Barry Lamb is offline
Registered User
no team
 
Join Date: Oct 2002
Location: GA
Posts: 4
Barry Lamb is an unknown quantity at this point
Hi,
Yes, I have all the documentation from ebay on what to send, but it doesn't give any info on the "how to send"
  #8   Spotlight this post!  
Unread 13-10-2002, 20:40
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Quote:
Originally posted by Barry Lamb
Hi,
Yes, I have all the documentation from ebay on what to send, but it doesn't give any info on the "how to send"
Well, the standard syntax for argument passing is:

script.pl?arg1=val1&arg2=val2&....

Hope that helps
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
To all the people who made new friends! kevinschnepp535 Championship Event 4 03-05-2002 12:13


All times are GMT -5. The time now is 05:20.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi