Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 05cd670d8a02b2b4a0ffb1756f2e8308 > files > 1796

php-manual-zh-5.2.4-1mdv2008.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>imagecreatefromxbm</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="PHP 手册"
HREF="index.html"><LINK
REL="UP"
TITLE="Image 图像函数"
HREF="ref.image.html"><LINK
REL="PREVIOUS"
TITLE="imagecreatefromwbmp"
HREF="function.imagecreatefromwbmp.html"><LINK
REL="NEXT"
TITLE="imagecreatefromxpm"
HREF="function.imagecreatefromxpm.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></HEAD
><BODY
CLASS="refentry"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PHP 手册</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.imagecreatefromwbmp.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.imagecreatefromxpm.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.imagecreatefromxbm"
></A
>imagecreatefromxbm</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN88113"
></A
><P
>    (PHP 4 &#62;= 4.0.1, PHP 5)</P
>imagecreatefromxbm&nbsp;--&nbsp;从 XBM 文件或 URL 新建一图像</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN88116"
></A
><H2
>说明</H2
>resource <B
CLASS="methodname"
>imagecreatefromxbm</B
> ( string filename )<BR
></BR
><P
>&#13;     <B
CLASS="function"
>imagecreatefromxbm()</B
>
     返回一图像标识符,代表了从给定的文件名取得的图像。
    </P
><DIV
CLASS="tip"
><BLOCKQUOTE
CLASS="tip"
><P
><B
>提示: </B
>如果<A
HREF="ref.filesystem.html#ini.allow-url-fopen"
>“fopen wrappers”</A
>已经被激活,则在本函数中可以把
URL 作为文件名来使用。请参阅 <A
HREF="function.fopen.html"
><B
CLASS="function"
>fopen()</B
></A
>
函数来获取怎样指定文件名的详细信息以及支持 URL 封装协议的列表:<A
HREF="wrappers.html"
>附录 N</A
>。</P
></BLOCKQUOTE
></DIV
><DIV
CLASS="warning"
><P
></P
><TABLE
CLASS="warning"
BORDER="1"
WIDTH="100%"
><TR
><TD
ALIGN="CENTER"
><B
>警告</B
></TD
></TR
><TR
><TD
ALIGN="LEFT"
><P
>Windows 版本的 PHP
在 4.3.0 版之前不支持本函数的远程文件访问,即使
<A
HREF="ref.filesystem.html#ini.allow-url-fopen"
>allow_url_fopen</A
> 选项已被激活。</P
></TD
></TR
></TABLE
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.imagecreatefromwbmp.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>起始页</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.imagecreatefromxpm.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>imagecreatefromwbmp</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.image.html"
ACCESSKEY="U"
>上一级</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>imagecreatefromxpm</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>