• Re: Common Gateway Interf

    From Arelor@VERT/PALANT to Digital Man on Sat Jul 18 17:39:11 2020
    Re: Re: Common Gateway Interf
    By: Digital Man to Baguette on Sat Jul 18 2020 11:36 am

    I thought Gopher was more of a read-only type protocol, no?

    Have you played with modifying Synchronet gopherservice.js?

    digital man

    Yes, but the protocol supports queries. Queries were designed for searches afaik, but some people use queries for feeding CGI scripts with instructions.

    So you could send the script a query with a sentence in it, and the script could store such sentence in a guest book.

    --
    gopher://gopher.operationalsecurity.es

    ---
    � Synchronet � Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From calcmandan@VERT/DIGDIST to Baguette on Sun Jul 19 09:58:00 2020
    Baguette wrote to Arelor <=-

    Re: Re: Common Gateway Interf
    By: Arelor to Baguette on Thu Jul 16 2020 07:05 am

    Re: Re: Common Gateway Interf
    By: Baguette to poindexter FORTRAN on Thu Jul 16 2020 01:17 am

    Re: Re: Common Gateway Interf
    By: poindexter FORTRAN to Baguette on Wed Jul 15 2020 07:35 am

    Baguette wrote to All <=-

    In other news, I'm trying to figure out how the /fuck/ to write a

    What language do you know? Anything that runs on the server should be
    able to be made to run CGI, it's a matter of how efficient it'll be.

    I worked at a company that wrote all of their original CGI in C.



    ... It's all more or less the same.. but it's all different now.

    Honestly, the language I know /best/ is Python, and even then I'm not tha where I've started considering seeing someone about
    it) and I can barely remember most of them.

    ===============================
    [email protected]
    https://hbaguette.neocities.org



    I think a gopher CGI page would be very doable with Python, so you may as we am a weirdo.

    --
    gopher://gopher.operationalsecurity.es


    Alright, I'll give it a try. Been wanting to write a cgi guestbook for
    my gopherhole. Other things, too, but I think a guestbook's a good
    place to start.

    Please share your code. I've attempted to get other guestbook code from gopher IRC channels. No one really wants to share and usually I'll receive a response like 'figure it out yourself.'

    I found the gopher community on irc to be nowhere near helpful.

    Daniel Traechin

    ... Visit me at gopher://gcpp.world
    --- MultiMail/Linux v0.49
    � Synchronet � Digital Distortion: digitaldistortionbbs.com
  • From calcmandan@VERT/DIGDIST to Arelor on Sun Jul 19 10:07:00 2020
    Arelor wrote to Digital Man <=-

    Re: Re: Common Gateway Interf
    By: Digital Man to Baguette on Sat Jul 18 2020 11:36 am

    I thought Gopher was more of a read-only type protocol, no?

    Have you played with modifying Synchronet gopherservice.js?

    digital man

    Yes, but the protocol supports queries. Queries were designed for
    searches afaik, but some people use queries for feeding CGI scripts
    with instructions.

    So you could send the script a query with a sentence in it, and the
    script could store such sentence in a guest book.

    All the guestbooks I've signed on gopher holes are typically that. You fill out your message on the 'field' and it submits your text in the page below after the refresh. I've wanted one on my phlog where each entry has a guest book fashioned as a comment section.

    Daniel Traechin

    ... Visit me at gopher://gcpp.world
    --- MultiMail/Linux v0.49
    � Synchronet � Digital Distortion: digitaldistortionbbs.com