PHP html generation

Fanis Dokianakis madf at hellug.gr
Fri Nov 23 22:59:01 EET 2001


On Fri, Nov 23, 2001 at 09:29:17PM +0200, Giorgos Pallas wrote:
> Geia!
> Exei kaneis idea an yparxei kanenas tropos na klithei o processor tis PHP(i
> PHP telos pantwn) kai na mas ftiaksei html apo command line;;
> 
> thanks
> Giwrgos
>
Den katalava kala thn erotisi sou, alla mallon ayto pou thes einai
na kaneis compile tin php san cgi ektelesimo kai oxi san apache module.
Etsi tha mporeis na dimiourgiseis mehri kai scriptakia.
Px.

---Cut Here---
#!/usr/bin/php4
<?php
/* Hello world */
echo "Hello, world!!!\n";
?>
---Cut Here---
ayto ean to kaneis ektelesimo kai to trejeis tha vgalei:
---
X-Powered-By: PHP/4.1.0RC1
Content-type: text/html

hello world!!!
---

Fanis



More information about the Linux-greek-users mailing list