PHP_LOGO_GUID(3) 1 PHP_LOGO_GUID(3)php_logo_guid - Gets the logo guidSYNOPSIS
string php_logo_guid (void )
DESCRIPTION
This function returns the ID which can be used to display the PHP logo using the built-in image. Logo is displayed only if expose_php is
On.
Warning
This function has been DEPRECATED and REMOVED as of PHP 5.5.0.
RETURN VALUES
Returns PHPE9568F34-D428-11d2-A769-00AA001ACF42.
CHANGELOG
+--------+---------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------+
| 5.5.0 | |
| | |
| | php_logo_guid(3) has been removed from PHP. |
| | |
+--------+---------------------------------------------+
EXAMPLES
Example #1
php_logo_guid(3) example
<?php
echo '<img src="' . $_SERVER['PHP_SELF'] .
'?=' . php_logo_guid() . '" alt="PHP Logo !" />';
?>
SEE ALSO phpinfo(3), phpversion(3), phpcredits(3), zend_logo_guid(3).
PHP Documentation Group PHP_LOGO_GUID(3)
Check Out this Related Man Page
PHPVERSION(3) 1 PHPVERSION(3)phpversion - Gets the current PHP versionSYNOPSIS
string phpversion ([string $extension])
DESCRIPTION
Returns a string containing the version of the currently running PHP parser or extension.
PARAMETERS
o $extension
- An optional extension name.
RETURN VALUES
If the optional $extension parameter is specified, phpversion(3) returns the version of that extension, or FALSE if there is no version
information associated or the extension isn't enabled.
EXAMPLES
Example #1
phpversion(3) example
<?php
// prints e.g. 'Current PHP version: 4.1.1'
echo 'Current PHP version: ' . phpversion();
// prints e.g. '2.0' or nothing if the extension isn't enabled
echo phpversion('tidy');
?>
Example #2
PHP_VERSION_ID example and usage
<?php
// PHP_VERSION_ID is available as of PHP 5.2.7, if our
// version is lower than that, then emulate it
if (!defined('PHP_VERSION_ID')) {
$version = explode('.', PHP_VERSION);
define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 + $version[2]));
}
// PHP_VERSION_ID is defined as a number, where the higher the number
// is, the newer a PHP version is used. It's defined as used in the above
// expression:
//
// $version_id = $major_version * 10000 + $minor_version * 100 + $release_version;
//
// Now with PHP_VERSION_ID we can check for features this PHP version
// may have, this doesn't require to use version_compare() everytime
// you check if the current PHP version may not support a feature.
//
// For example, we may here define the PHP_VERSION_* constants thats
// not available in versions prior to 5.2.7
if (PHP_VERSION_ID < 50207) {
define('PHP_MAJOR_VERSION', $version[0]);
define('PHP_MINOR_VERSION', $version[1]);
define('PHP_RELEASE_VERSION', $version[2]);
// and so on, ...
}
?>
NOTES
Note
This information is also available in the predefined constant PHP_VERSION. More versioning information is available using the
PHP_VERSION_* constants.
SEE ALSO
PHP_VERSION constants, version_compare(3), phpinfo(3), phpcredits(3), php_logo_guid(3), zend_version(3).
PHP Documentation Group PHPVERSION(3)
hiho,
where are the frisky CDE admins.... ;-)
how can i change the welcome logo?
i found the /usr/dt/config/C/Xresources
and the entry:
Dtlogin*logo*bitmapFile:
but when i enter my own *.bm or *.xpm file the screen use a black logo.... i think i am using the wrong resolution for my picture...... (3 Replies)
are they any server variables in bash/SSH scripting as is in PHP or Perl, for example in PHP:
$_SERVER or $_SERVER
I'm trying to retrieve the absolute path of an .SH script I'm running
thank you (6 Replies)
If you have a graphic display you see some sort of logo in OpenBoot immediately after a reset or when you run the banner command. With most systems, you see a spiffy multicolor logo generated by a routine on the video card. But if you have a low-rent video card you just see a plain monochrome Sun... (2 Replies)
I saw this on another board, and burst out laughing.
http://www.brandsoftheworld.com/brands/0011/0070/brand.gif
Apparently it's a new logo (may even be a new name) for a clothing line.
Check them out: www.A-Style.it (9 Replies)
I am new to PHP scripting.
I have a page with a checkbox and I'd like to make it required before submiting
Here is the code I have for displaying:
<tr>
<td align="center" colspan="4"><font size="2" color="#990000" face="Arial, Helvetica, sans-serif">
By checking this box you agree... (1 Reply)
Hello,
I am very new to UNIX and PHP. I am using the Apached on a Windows platform. I am learning PHP and I am trying to create a variable with an XML string concatenated together on multiple lines.
When I run this code, I am not getting any results. I am not sure why.
Here is the... (4 Replies)
Hello everyone,
I have a folder with thousands of images files that I what would like to add a logo in a corner (at the top or bottom)
Anyone knows how to accomplish this with imagemagick or other tool ?
Thanks in advance (1 Reply)
Hi guys,
This is my first post in this forum.
Recently i come across one interesting advantage of PHP that it is the simplest yet powerful language to communicate with linux .
However my knowledge of PHP is very weak.
Can u please guide me about following queries.
1)which version of... (6 Replies)
Guys, we are having the latest PHP version on our server which is PHP 5.3 and for some client we need have PHP 5.2 as well. Can you please let me know how i can enable 5.2 on the same server? An detail instruction will be appreciated
Im using Linux Server with cPanel/Apache. (2 Replies)
I have built a site in PHP for radio station, and the daily schedule is displayed dynamically using PHP script.
I have added links to view different days but when it loads up its just loading up a new page. I can't quite remember how I done it but I'd like it to be in ajax if that's... (2 Replies)
Hello All,
I installed php5 from OpenCSW but i believe it does not support the expect module.
I tried to run a php script to call expect to do a telnet to a device but i got this error
PHP Warning: fopen(): Unable to find the wrapper "expect" - did you forget to enable it when you... (6 Replies)
4000 node Botnet derived from PHP superglobal $_SERVER mapped with Google Maps Engine.
https://www.unix.com/members/1-albums112-picture640.png
total ips 54945
unique ips 4000
unique countries 64 (2 Replies)
It came in a template full of techy-related stickers for laptop (like Docker, K8s, BigData, RHEL, AWS, etc) but I have no clue what it represents. Any idea?
https://i.imgur.com/7ILp105.png
Thanks. (7 Replies)