fpcgi syntax
Fairlight
fairlite at fairlite.com
Wed Sep 29 10:49:52 PDT 2004
Y'all catch dis heeyah? Nancy Palmquist been jivin' 'bout like:
> I am looking at some sample processing for fpcgi.
>
> The command was an option for DOS - I converted it to a Unix line just
> to make it easier to read (the slash stuff makes more sense)
>
> document.myform.action="http://" + fphost + "/cgi-bin/fpcgi/cfg=xxxx"
>
> Does anyone know what the cfg=xxxx is for in this action?
>
> I don't see any documentation for this. Most other examples stop after
> the fpcgi command.
You'd find it in the environment variable $PATH_INFO if you check for it.
The most common use of this particular URI structure is to path past your
actual CGI program so that the last thing the -browser- sees is the
filename it -thinks- it should name any incoming file, when you force a
file download on the server end.
What they're doing it for here...anyone's guess. You want -my- opinion?
Look at your keyboard. '/' is just '?' without the shift key held down.
Typical fP-Tech docs. I think they meant it to be a field assignment in
GET syntax, and mis-typed the question mark that would kick off the
QUERY_STRING.
mark->
--
Bring the web-enabling power of OneGate to -your- filePro applications today!
Try the live filePro-based, OneGate-enabled demo at the following URL:
http://www2.onnik.com/~fairlite/flfssindex.html
More information about the Filepro-list
mailing list