Re: return value from cgi

From: Erwin Moller (since_humans_read_this_I_am_spammed_too_much_at_spamyourself.com)
Date: 01/04/05


Date: Tue, 04 Jan 2005 12:26:27 +0100

Pedro Graca wrote:

> Paul Bearden wrote:
>> I'm posting a form to a cgi application on another web site.
>
> How? How are you posting the form to the other web site?
>
>> The cgi returns
>> a text message to the browser. How can I capture this text message and
>> redirect based on the text.
>
> curl ( http://www.php.net/curl ) does it all!
>

Hi Pedro,

But how to use curl when posting from a clients machine to another website?
As Daniel pointed out in this thread: Your own server isn't involved!

But both your responses give me the following idea:
Server1 = your own server
Server2 = another server (the one with failure or succes)
Now:
1) Let the forms action NOT be to Server2, but to Server2.
2) Let Server2 (using curl) POST All the data to Server1.
3) Now you can decide what to do on failure or succes.

Maybe this was what you ment in the first place Pedro, in which case I'll
bang my head with a fish.
:-)

Regards,
Erwin Moller



Relevant Pages

  • Re: Need to setup web site in Windows 2008
    ... this server is a domain member server? ... Disclaimer: This posting is provided "AS IS" with no warranties, ... create the web site setup from start to end. ...
    (microsoft.public.windows.server.setup)
  • Re: Need to setup web site in Windows 2008
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ... Right now this server is a work group, but I need to have at least ... domain created in this server so I can ran my web site. ...
    (microsoft.public.windows.server.setup)
  • RE: 2003 OWA - password change screen
    ... You must first configure your server to use SSL. ... server name object), expand Web Sites, and then expand Default Web Site. ... on the right-pane of the IIS Admin console. ... This posting is provided "AS IS" with no warranties, ...
    (microsoft.public.exchange.admin)
  • Re: TS and Flash Player
    ... My end user finally tested the web site and it works. ... This posting is provided "AS IS" with no warranties, and confers no rights. ... server with about 15 users logging on. ...
    (microsoft.public.windows.terminal_services)
  • Re: Cant see performance report, etc. SBS2003
    ... However, for "OpenSSH Server", you need to ensure it started, or set ... click to check the "Hide All Microsoft Services" ... Make sure no host header is assigned to the Default Web Site. ... Reinstall Monitoring component: ...
    (microsoft.public.windows.server.sbs)