Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: php_logo_guid - Manual
[go: Go Back, main page]

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" width="11" height="7"/> <php_ini_scanned_files
Last updated: Thu, 31 May 2007

view this page in

php_logo_guid

(PHP 4, PHP 5)

php_logo_guid — ロゴの guid を取得する

説明

string php_logo_guid ( void )

ビルトインされている画像を使って PHP ロゴを表示する際に使用できる ID を返します。 ロゴが表示されるのは、expose_php が On の場合のみです。

返り値

PHPE9568F34-D428-11d2-A769-00AA001ACF42 を返します。

例 1799. php_logo_guid() の例

<?php

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

?>

参考

phpinfo()
phpversion()
phpcredits()
zend_logo_guid()



add a note add a note User Contributed Notes
php_logo_guid
t dot blum at student dot fontys dot nl
23-Dec-2006 06: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
03-Aug-2006 04:52
If you for the function to create your own guid, it is uniqid()

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

 
show source | credits | sitemap | contact | advertising | mirror sites