Complete.Org: Mailing Lists: Archives: gopher: April 2008:
[gopher] Trouble with ASK form
Home

[gopher] Trouble with ASK form

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: gopher@xxxxxxxxxxxx
Subject: [gopher] Trouble with ASK form
From: David Meyer <papa@xxxxxxxx>
Date: Mon, 14 Apr 2008 11:56:47 GMT
Reply-to: gopher@xxxxxxxxxxxx

To experiment with ASK forms, I've put in my gopherspace root:

1. hello - a shell script that echoes "Hello, World!". World
   readable and executable. Works as expected when invoked from 
   command line.

2. hello.ask - form with dummy Nore: and Ask: lines. World 
   readable.

When I pick the selector in gopher, the ASK form works fine, but 
I get a panel with the following error after submitting the 
form:

> Gopher Transmission Error
> ---------------------------------
> 1 Stephen Jones <smj@SDF>
>  Cannot write ask data to '(null)' 

What's wrong?

A separate question: Is it possible to make a gopher link, 
without an ASK form, that executes a script or program and 
returns the result to the client?




[Prev in Thread] Current Thread [Next in Thread]