In other news, I'm trying to figure out how the /fuck/ to write 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
In other news, I'm trying to figure out how the /fuck/ to write
CGI script for my gopherhole. From the looks of things, I'm goi
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
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.
Baguette wrote to All <=-
In other news, I'm trying to figure out how the /fuck/ to write a CGI script for my gopherhole. From the looks of things, I'm going to have
to learn Perl.
Baguette wrote:
In other news, I'm trying to figure out how the /fuck/ to write a CGI scri for my gopherhole. From the looks of things, I'm going to have to learn Pe
And then there's the issue that I might not actually have permissions to r 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 comfortable with.
You will need to learn how to properlty form a HTML response, however, and there's plenty of resources on that.
Re: Common Gateway Interface
By: Baguette to All on Wed Jul 15 2020 03:03 am
In other news, I'm trying to figure out how the /fuck/ to write
CGI script for my gopherhole. From the looks of things, I'm goi
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
Hi there,
Which gopher implementation will you be using?
You don't really need perl. It is just that Perl is the most
convenient language for such thing (at least for most tasks I have
had to take myself). You can also use regular sh if you feel like
it. Or write your own C monster, in theory.
--
gopher://gopher.operationalsecurity.es
Baguette wrote to All <=-
In other news, I'm trying to figure out how the /fuck/ to write a CGI script for my gopherhole. From the looks of things, I'm going to have to learn Perl.
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.
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 CGI script for my gopherhole. From the looks of things, I'm going to have to learn Perl.
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 that great at it. I've learned other languages in the past, but my memory is terrible (to the po
where I've started considering seeing someone about
it) and I can barely remember most of them.
===============================
baguette@sdf.org
https://hbaguette.neocities.org
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.
===============================
baguette@sdf.org
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
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.
===============================
baguette@sdf.org
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.
I thought Gopher was more of a read-only type protocol, no?
Have you played with modifying Synchronet gopherservice.js?
digital man
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.
===============================
baguette@sdf.org
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.
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.
For gopher, you are unlikely to need HTML in a gopher response
since you usually deliver just text or gopher menus :-)
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 writ
What language do you know? Anything that runs on the server should
able to be made to run CGI, it's a matter of how efficient it'll b
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 where I've started considering seeing someone about
it) and I can barely remember most of them.
===============================
baguette@sdf.org
https://hbaguette.neocities.org
I think a gopher CGI page would be very doable with Python, so you may as 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 goph IRC channels. No one really wants to share and usually I'll receive a respon 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
Baguette wrote to calcmandan <=-
Re: Re: Common Gateway Interf
By: calcmandan to Baguette on Sun Jul 19 2020 09:58 am
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 writ
What language do you know? Anything that runs on the server should
able to be made to run CGI, it's a matter of how efficient it'll b
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 where I've started considering seeing someone about
it) and I can barely remember most of them.
===============================
baguette@sdf.org
https://hbaguette.neocities.org
I think a gopher CGI page would be very doable with Python, so you may as 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 goph IRC channels. No one really wants to share and usually I'll receive a respon 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
If I figure it out, I'll let you know. Probably put the script itself
up on my gopherhole for people to download, honestly.
Sysop: | fluid |
---|---|
Location: | wickliffe, ohio |
Users: | 4 |
Nodes: | 10 (0 / 10) |
Uptime: | 142:19:11 |
Calls: | 50 |
Files: | 15,838 |
Messages: | 49,878 |