Re: cgi scripting and MetaCard

2003-01-29 Thread andu


--On Wednesday, January 29, 2003 11:18:34 -0800 RCS 
<[EMAIL PROTECTED]> wrote:

Hello,

I just thought I would post this in the hopes that someone has already
worked this out:

  I need to respond to a device that has a simple server (a network
appliance). The server needs to be 'fed' cgi responses (i.e. GET or POST),
and I have 'analyzed' the device that I am trying to emulate for the
format (basically a web interface from within a browser). I have the
format that the device is sending, but it has information embedded that I
do not think is relevant to me (referrer: Mozilla, etc.). So when I
simply send this 'GET' command from an open socket (port 80) from
MetaCard, I get a response from the server, but it tells me there is an
error in the format.

  I suppose my question is: when replying to a server in this manner...who
should I say the referrer is? Do I need this? I know I need to read up on
cgi scripting, but I thought this might be a simple procedure...


It is simple when you know it, why don't you post what exactly the server 
sends and what your script replies, you give no "helpful" information.


Thanks for any info,
RCS

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard





Regards, Andu Novac
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



cgi scripting and MetaCard

2003-01-29 Thread RCS
Hello,

I just thought I would post this in the hopes that someone has already
worked this out:

  I need to respond to a device that has a simple server (a network
appliance). The server needs to be 'fed' cgi responses (i.e. GET or POST),
and I have 'analyzed' the device that I am trying to emulate for the format
(basically a web interface from within a browser). I have the format that
the device is sending, but it has information embedded that I do not think
is relevant to me (referrer: Mozilla, etc.). So when I simply send this
'GET' command from an open socket (port 80) from MetaCard, I get a response
from the server, but it tells me there is an error in the format.

  I suppose my question is: when replying to a server in this manner...who
should I say the referrer is? Do I need this? I know I need to read up on
cgi scripting, but I thought this might be a simple procedure...

Thanks for any info,
RCS

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard