About
Content
Store
Forum

Rebirth of Reason
War
People
Archives
Objectivism

Post to this threadMark all messages in this thread as readMark all messages in this thread as unread


Sanction: 2, No Sanction: 0
Post 0

Monday, July 9, 2007 - 4:24pmSanction this postReply
Bookmark
Link
Edit
I know this has absolutely nothing to do with anything important, but I was wondering if any of you fellow objectivists knew how to execute a PHP script in a web browser. If so, please explain in layman's terms, for I am lacking in the technological department.

Post 1

Monday, July 9, 2007 - 6:03pmSanction this postReply
Bookmark
Link
Edit
as simple as I can put it:
Browsers don't do anything with PHP. browsers just handle things like html,xhtml,javascript,css, and can throw various files to plugins such as flash, adobe reader, and java.

PHP is a programming language. You can create a PHP script for a web server (like Apache usually). Apache using a PHP plugin will read and execute the PHP script. The PHP script will output html. Apache will then send that html over the internet to the requesting computer/browser. So PHP is completely "Server side". Your browser couldn't actually do anything with a php script other than show the program's text.

Sanction: 2, No Sanction: 0
Post 2

Tuesday, July 10, 2007 - 5:43amSanction this postReply
Bookmark
Link
Edit
You might want to check the RoR Technology Forum at

http://rebirthofreason.com/Forum/RoRTechnology/

for questions like this.


Post to this thread


User ID Password or create a free account.