/ Forside / Teknologi / Udvikling / PHP / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
PHP
#NavnPoint
rfh 3959
natmaden 3372
poul_from 3310
funbreak 2700
stone47 2230
Jin2k 1960
Angband 1743
Bjerner 1249
refi 1185
10  Interkril.. 1146
PHP (WHY)
Fra : Brendan OBrien


Dato : 23-09-01 21:31

What exactly do .php files do, i've seen them but never understood the
difference between .htm and .php and why they are used could someone please
inform me.

Thanx

 
 
Hroi Sigurdsson (23-09-2001)
Kommentar
Fra : Hroi Sigurdsson


Dato : 23-09-01 22:11

Brendan OBrien wrote:

> What exactly do .php files do, i've seen them but never understood the
> difference between .htm and .php and why they are used could someone please
> inform me.

PHP files contain programming logic (like .asp, .jsp, .pl, .cgi etc.)
while normal html files contain only static markup text. You can look at
them as small programs which get executed on the web server outputting
HTML to your browser.

See http://www.php.net/

--
Hroi Sigurdsson

Anders Juul (12-10-2001)
Kommentar
Fra : Anders Juul


Dato : 12-10-01 09:50

... or in other words:

when you look at an .php -file in your browser you only see the html-code, because php is a programming language which generates html-code

Anders


Søg
Reklame
Statistik
Spørgsmål : 177560
Tips : 31968
Nyheder : 719565
Indlæg : 6408941
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste