RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Writing Webserver

DaZiL

Wanderer
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 the php' back, according to one of my friends who has no idea either. Anyway, i need to work out, what part(s) of this 'message' i need to get compiled by PHP-CGI.exe .

Code:
POST /index.php HTTP/1.1
Host: 127.0.0.1:800
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://127.0.0.1:800/index.php
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Content-Length: 9213

-----------------------------265001916915724
Content-Disposition: form-data; name="single"; filename="AccessibleMarshal.dll"
Content-Type: application/x-msdownload

MZ
Hope you can help, DaZiL
 
Top