PHP

Si Wikipedia, tasanayt tilellit.
Sauter à la navigation Sauter à la recherche
PHP
PHP-logo.svg
Original author(s) Rasmus Lerdorf Suqel
Developer(s) Rasmus Lerdorf Suqel, Andi Gutmans Suqel, PHP Group Suqel, Zend Technologies Suqel akked Zeev Suraski Suqel
Initial release Yunyu 8, 1995
Repository Edit this at Wikidata
Written in C
Operating system type Unix Suqel akked Microsoft Windows
Type langage interprété Suqel
License licence PHP Suqel
Website www.php.net

PHP (PHP Hypertext Preprocessor) d yiwet tmeslayt n usihel n yiskripten, d ahil ilelli (”Open Source” am Linux neɣ Firefox), yelha i usnulfu n yismal Web ismussanen.

Afaylu PHP yesɛa aseɣzif “php”, amedya “afaylu_php.php”. Seddaw-a, d yiwen umedya n uskript php:

<?php
print (’Azul fell-awen’);
?>

Aselkem n uskript-a deg yiwen uqeddac PHP ad yefk deg yimini ɣef Web: Azul fell-awen


Ismal imezwura ttwarun s HTML (Hypertext Markup Language), d yiwet tmeslayt n usihel s ticraḍ, amedya:

<html>
<head>
<title>Amedya HTML</title>
</head>
<body>
<p>Aql-aɣ deg umagrad ɣef PHP!!!</p>
</body>
</html>

Afaylu HTML ɣur-s aseɣzif “htm” neɣ “html”, amedya “afaylu_html.htm” akk d “afaylu_html.html” kifkif-iten.

Nezmer ad nesdukkel tangalt html d tengalt php deg yiwen ufaylu, isem n ufaylu-a ilaq ad yesɛu aseɣzif “php”, amedya “afaylu_html_php.php”:

<html>
<head>
<title>Amedya HTML akk d PHP</title>
</head>
<body>
<?php
print (’Azul fell-awen’);
?>
<p>Aql-aɣ deg umagrad ɣef PHP!!!</p>
</body>
</html>


Tura, amur ameqqran n yismal tteddun s PHP (akk d Apache d MySQL), am usmel-a akk d yismal merra ay yetteddun s Wordpress.

Ugar isalen deg usmel http://www.php.net