Please be careful using this example. Printing $_SERVER['PHP_SELF'] without checking its content exposes a cross-site scripting vulnerability.
php_logo_guid
(PHP 4, PHP 5)
php_logo_guid — Restituisce il guid del logo
Descrizione
string php_logo_guid
( void
)
Questa funzione restituisce l'ID che può essere utlizzato per visualizzar il logo PHP pre-inserito.
Example #1 Esempio di uso di php_logo_guid()
<?php
echo '<img src="' . $_SERVER['PHP_SELF'] .
'?=' . php_logo_guid() . '" alt="PHP Logo !" />';
?>
Vedere anche phpinfo(), phpversion(), phpcredits() e zend_logo_guid().
php_logo_guid
t dot blum at student dot fontys dot nl
23-Dec-2006 01:35
23-Dec-2006 01:35
public at lemnet dot com
02-Aug-2006 12:52
02-Aug-2006 12:52
If you for the function to create your own guid, it is uniqid()
See http://www.php.net/uniqid
