Re: cgi's and procedures...

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi Robert;

This is not the problem. The request method is ok. I'm using post.
The only problem is how to call a procedure inside a cgi.ex file by a form 
created by this cgi.ex.

Rubens

At 15:48 10/12/2002, you wrote:
>
>Check the request method to decide which to send ?
>
>If the client goes to the link in there browsers(types it or clicks a link)
>the "REQUEST_METHOD" environment will be "GET". If it is "POSTED" from a
>form, then REQUEST_METHOD will be "POST"
>
>
>Hope that helps
>
>Regards,
>     Robert Szalay
>
>
>----- Original Message -----
>From: <rubis at fem.unicamp.br>
>To: EUforum <EUforum at topica.com>
>Sent: Tuesday, December 10, 2002 2:32 PM
>Subject: cgi's and procedures...
>
>
> > Ok people, I will try to be as clear as possible:
> >
> > The situation:
> >
> > <form name="form1" method="post" action="/cgi-bin/cgi.ex">
> >   --CGI script in euphoria (cgi.ex) in a windows webserver (Xitami) called
> > by a submit form in html
> >
> > ---cgi.ex
> >
>begins----------------------------------------------------------------------
>-------------------------------
> >
> > puts(1,form) - where form is another form, When I click submit, I wanto to
> > call um()
> >
> > procedure um()
> > puts(1,"1")
> > end procedure
> >
> > ---- end of
> >
>cgi.ex----------------------------------------------------------------------
>-----------------
> >
> > In words: How do I call a procedure using form if this form is generated
>by
> > the cgi ?
> > (and the procedure is inside the cgi program).
> >
> > If procedure um() was another euphoria program, no problem....
> >
> > Thanks
> >
> > Rubens
> >
> >
>---
>
>
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu