Re: PHP advantage.



I noticed that Message-ID: <oNmdnZpruqx1ynjfRVn-gg@xxxxxxxxxx> from Andy
contained the following:

>It is because I was a member of this website. There is a JavaScript picture
>show, but all pages are PHP . This is why I am asking why somebody build it
>in PHP instead of regular HTML. Is there any advantage of that ?

It is regular html. The php part is done and dusted by the time the
page leaves the server. There are all sorts of advantages. One of the
simplest is that you have a standard header that you include in all
pages. Or the entire site could be server from a database. Or it could
send an email every time the page is viewed. Or update a hidden counter.
Without access to the code, you simply don't know.

--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
.



Relevant Pages

  • Re: PHP Instalation problems. Browser doesnt know what to do
    ... This is loaded and run as a local server (for class ... PHP 5.2.0 from php-5.2.0-win32-installer.msi ... # configuration directives that give the server its instructions. ...
    (comp.lang.php)
  • Re: PHP Instalation problems. Browser doesnt know what to do
    ... This is loaded and run as a local server (for class ... PHP 5.2.0 from php-5.2.0-win32-installer.msi ... # configuration directives that give the server its instructions. ...
    (comp.lang.php)
  • Re: write with cURL
    ... execute permissions. ... This is assuming that the PHP script runs ... of potential security risks from other users on the same server. ... Apache as the global web server user and thus needs world write ...
    (alt.php)
  • mysqli error?
    ... I'm just setting up my php enviroment and I typed in a simple script ... # configuration directives that give the server its instructions. ...
    (comp.lang.php)
  • Re: write with cURL
    ... execute permissions. ... This is assuming that the PHP script runs ... of potential security risks from other users on the same server. ... web server itself is part of the group. ...
    (alt.php)