I want to create a Rev based CGI - and I know how it works with an http
POST or GET - but is there a way to do http DELETE and PUT (not
http) - and if so how do you write the cgi to handler these http requests?
___
use-revolution mailing list
David,
it's fairly easy. If you're serving using apache just check the
$REQUEST_METHOD environment variable, it will contain the method used to
access your cgi.
Like:
switch $REQUEST_METHOD
case POST
-- do post stuff
break
case PUT
-- do put stuff
break
case DELETE
...
and so on...
hope I
On 27/06/07, Andre Garzia [EMAIL PROTECTED] wrote:
it's fairly easy. If you're serving using apache just check the
$REQUEST_METHOD environment variable, it will contain the method used to
access your cgi.
Like:
switch $REQUEST_METHOD
case POST
-- do post stuff
break
case PUT
-- do put stuff