Hey,
I would like to introduce PHP and CGI support into my websever (KNet). However I can't find any nice, simple, examples to get me started. I have downloaded the CGI library and have found the included help to be of little use (none of the commands are explained properly imho). Could anybody point me in the right direction?
PHP and CGI Support
-
Killswitch
- Enthusiast

- Posts: 731
- Joined: Wed Apr 21, 2004 7:12 pm
PHP and CGI Support
~I see one problem with your reasoning: the fact is thats not a chicken~
Hi Killswitch!
Go to http://www.php.net/ and you will find anything about PHP... (a place to start
)
Go to http://php.resourceindex.com/ to get heaps of scripts...
(http://php.resourceindex.com/Documentat ... Tutorials/)
I'm sure you'll find a "hallo world!" there
sverson
Go to http://www.php.net/ and you will find anything about PHP... (a place to start
Go to http://php.resourceindex.com/ to get heaps of scripts...
I'm sure you'll find a "hallo world!" there
Ok here it is:
viewtopic.php?t=13863#79667
So to put it simply, you just call php.exe with the filename requested from the server (Don't forget you need the whole file path of it eg, c:\home\myweb.php not just myweb.php) as a parameter of php.exe, then capture the output
viewtopic.php?t=13863#79667
So to put it simply, you just call php.exe with the filename requested from the server (Don't forget you need the whole file path of it eg, c:\home\myweb.php not just myweb.php) as a parameter of php.exe, then capture the output
