PHP as CGI

Roberto Alsina <[email protected]> Tue, 26 Sep 2006 23:51:03 -0300
Newsgroups gmane.comp.web.fnord
Message-ID <[email protected]>
Hello, I am using fnord, and I can make it work with PHP CGI scripts.

Digging a bit, I found that PHP relies on an apparently non-standard couple=
 of=20
variables:

SCRIPT_FILENAME (which seems to need being set to the name of the script, w=
ith=20
no path) and REDIRECT_STATUS (set to empty works).

If I were to produce a patch for fnord that enabled this, would that be=20
acceptable? I have one ... but it is probably done wrong, since I only did =
it=20
to see if I could make it work.

Best regards,

=2D-=20
=A0("\''/").__..-''"`-. . =A0 =A0 =A0 =A0 Roberto Alsina
=A0`9_ 9 =A0) =A0 `-. ( =A0 =A0).`-._.`) [email protected]
=A0(_Y_.)' ._ =A0 ) `._`. =A0" -.-' =A0 KDE Developer (MFCH)
=A0 _..`-'_..-_/ /-'_.'
(l)-'' ((i).' ((!.' =A0 Buenos Aires - Argentina
=46eynman's problem solving algorithm: write down the problem->
think very hard -> write down the answer.