PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

php_sapi_name> <php_ini_scanned_files
Last updated: Fri, 04 Jul 2008

view this page in

php_logo_guid

(PHP 4, PHP 5)

php_logo_guid — Obtiene el valor guid del logo

Descripción

string php_logo_guid ( void )

Esta función devuelve el ID que puede ser usado para desplegar el logo de PHP usando la imagen integrada. El logo es desplegado únicamente si el valor de expose_php es On.

Valores retornados

Devuelve PHPE9568F34-D428-11d2-A769-00AA001ACF42.

Ejemplos

Example #1 Ejemplo de php_logo_guid()

<?php

echo '<img src="' $_SERVER['PHP_SELF'] .
     
'?=' php_logo_guid() . '" alt="¡Logo de PHP!" />';

?>



add a note add a note User Contributed Notes
php_logo_guid
t dot blum at student dot fontys dot nl
23-Dec-2006 10:35
Please be careful using this example. Printing $_SERVER['PHP_SELF'] without checking its content exposes a cross-site scripting vulnerability.
public at lemnet dot com
02-Aug-2006 09:52
If you for the function to create your own guid, it is uniqid()

See http://www.php.net/uniqid

php_sapi_name> <php_ini_scanned_files
Last updated: Fri, 04 Jul 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites