Search found 8 matches

by David_Irving
Sun Jul 02, 2006 10:44 pm
Forum: Miscellaneous
Topic: Writing Webserver
Replies: 5
Views: 1613

I know how HTTP functions, i don't quite know how PHP functions.. am i to call the php class file? What part am i meant to disect? What part do i compile? As i said.. IE connects to webserver Webserver sends welcome page IE Can click on a link to the php upload file Webserver gets the upload php scr...
by David_Irving
Sat Jul 01, 2006 9:48 pm
Forum: Miscellaneous
Topic: Writing Webserver
Replies: 5
Views: 1613

okay, I was told it wasn't hard to add PHP to a WebServer as long as i knew how CGI/CLI worked. Now, First when the .php script (+arguments) are requested, the information is sent to my webserver, then the webserver sends it to php-cgi.exe, then the output is sent back to the webserver, then transfe...
by David_Irving
Sat Jul 01, 2006 7:56 am
Forum: Miscellaneous
Topic: Writing Webserver
Replies: 5
Views: 1613

Writing Webserver

I'm writing a webserver for the heck of it, going quite well ( i don't expect to use it, since i'm a fan of Apache ) and now i'm adding PHP support. Its currently using CGI on it which is cool. I can compiled the requested page and send the output to the client. But now, i'm up to 'client sending th...
by David_Irving
Sat Jul 01, 2006 7:54 am
Forum: Miscellaneous
Topic: Customize for PHP?
Replies: 10
Views: 2948

Ok, Nemmind, Feegured eet all out.

Thankyou all, once again, Thankyou.
by David_Irving
Thu Jun 29, 2006 8:41 pm
Forum: Miscellaneous
Topic: Customize for PHP?
Replies: 10
Views: 2948

OkOK!

I got CLI working, does that work the same way as it would when executing CGI?

Simply sending the link, then it sends its output to the console? Man i so hope so, you guys have made me all happy by explaining it, i still just NEEd to know for CGI, thankyou ALL so much!

Dave!
by David_Irving
Wed Jun 28, 2006 9:53 pm
Forum: Miscellaneous
Topic: Customize for PHP?
Replies: 10
Views: 2948

I believe Apache just invokes the php.exe file whenever it encounters a PHP file or code. So a simple file path and code for your web server that directs it to use the php.exe everytime it encounters a PHP file or code to render it would work? So would that work like parameters? Say i execute php.e...
by David_Irving
Wed Jun 28, 2006 4:42 am
Forum: Miscellaneous
Topic: Customize for PHP?
Replies: 10
Views: 2948

I'm writing my own webserver, and i need to know what i need to do for it to execute PHP files. Do i just execute it then send it the file link then..?

I have no idea.

Thanks,

David
by David_Irving
Wed Jun 28, 2006 2:58 am
Forum: Miscellaneous
Topic: Customize for PHP?
Replies: 10
Views: 2948

Customize for PHP?

How do i customize my (own made) website for using the php engine? I've been running off Apache for quite some time but being a software developer i just couldn't resist. Is there a detailed guide on how to do this?

Thankyou,

David.