From iDunno@sommitrealweird.co.uk Thu Feb 4 23:36:49 2010 From: Brett Parker To: main@lists.alug.org.uk Subject: Re: [ALUG] HTML embedded scripting, is it really this much of a kludge? Date: Thu, 04 Feb 2010 23:36:49 +0000 Message-ID: <20100204233649.GF7474@miranda> In-Reply-To: <20100204231028.GG27857@chris> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6622158067900266871==" --===============6622158067900266871== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On 04 Feb 23:10, Chris G wrote: > On Thu, Feb 04, 2010 at 09:58:41PM +0000, James Bensley wrote: > > PHP is a server side language which means you need a web service (like > > Apache) running serving up your pages like a web server with the PHP > > extensions/interpreter installed. What this means is that you can > > write a page in HTML and throw some PHP in. Then when a client browses > > to mywebserver.com/my_php_page.php on the server, instead of simply > > parsing the client browser the code of the page to render the server > > sees that the file has a .php extension and reads and executes the PHP > > code sending the resulting HTML code of that PHP code execution to the > > clients browser. > > > So where is this bodge added by apache or what is it? That's really what I was asking, > I (sort of) know the difference between server side and client side > stuff (I think I did even say something about