This post originated from an RSS feed registered with Python Buzz
by Rob Hudson.
Original Post: PHP enabled Browser
Feed Title: Thoughts from Rob Hudson
Feed URL: http://treborhudson.blogspot.com/
Feed Description: PHP, Python, Linux, Web
The goal: To be able to distribute PHP based applications on CD with
the ability to access them without a network connection, and without
installing Apache (or other) web server.
The idea: Take a browser engine (Gecko, KHTML, Trident (IE)) and make
a simple browser, but also compile in a PHP engine. When you load a
page on your local filesystem (or CD) with this PHP enabled browser, it
would first as PHP to process the file. The resulting HTML would then
be displayed in the browser.
Sounds simple enough, right?
The major complicati
1000
on I see is what you do about GET and POST
requests. When you submit a form, what happens? The PHP enabled
browser would have to have bits of server ideas in it. Or just code
around those so they don't happen.