imagecreatefromxpm() returns an image identifier
representing the image obtained from the given filename.
Parameters
- filename
Path to the XPM image
Return Values
Returns an image resource identifier on success, FALSE
on errors.
Return Values
Note: This function is only available if
PHP is compiled with the bundled version of the GD library.
Warning: Windows versions of PHP
prior to PHP 4.3.0 do not support accessing remote files via this function, even if
allow_url_fopen is enabled.