Re: Re: Common Gateway Interface
By: Nelgin to Baguette on Wed Jul 15 2020 10:09 am
> Baguette wrote:
> > In other news, I'm trying to figure out how the /fuck/ to wri
> > a CGI script for my gopherhole. From the looks of things, I'm
> > going to have to learn Perl.
>
> > And then there's the issue that I might not actually have
> > permissions to run CGI scripts on the server I'm using.
>
> > ===============================
> > baguette@sdf.org
> > https://hbaguette.neocities.org
>
> If you don't want to do CGI in perl yo can always use php or
> pretty much whatever language you like, you can just use one of
> the former as a wrapper
> and make a system call. Use whatever language you're comfortabl
> with.
>
> You will need to learn how to properlty form a HTML response,
> however, and there's plenty of resources on that.
>
For gopher, you are unlikely to need HTML in a gopher response
since you usually deliver just text or gopher menus :-)
--
gopher://gopher.operationalsecurity.es
---
■ Synchronet ■ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
|