1. Trang chủ
  2. » Công Nghệ Thông Tin

PHP Game Programming 2004 phần 9 pot

38 165 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 38
Dung lượng 402,55 KB

Nội dung

288 Appendix A ■ HTML Language Reference BODY Defines the beginning of the body of the HTML document. BODY Attributes Attribute Description ALINK BACKGROUND BGCOLOR BOTTOMMARGIN CLASS DIR ID LANG LANGUAGE LEFTMARGIN LINK RIGHTMARGIN SCROLL STYLE TEXT TOPMARGIN VLINK Sets the color of the active state of a link Sets the background image of the body Sets the background color of the body of the page Sets the amount of margin on the bottom of the page Sets the style sheet class this element should use Sets the reading order of the element Sets the ID of the element Sets the language of the element Sets the client-side scripting language this element should use Sets the amount of margin on the left of the page Sets the color of links in the page Sets the amount of margin on the right of the page Sets whether the scroll bars are turned on or off Sets style-sheet-specific information for this element Sets the color that body text should be Sets the amount of margin on the top of the document Sets the color of visited links BR Inserts a line break in the page. BR Attributes Attribute Description CLASS Sets the style sheet class this element should use CLEAR Sets the side where the next line of content will appear after the line break, relative to a floating object ID Sets the ID of the element STYLE Sets style-sheet-specific information for this element BUTTON Renders an HTML button with the specified text. BUTTON Attributes Attribute Description ACCESSKEY Sets the accessibility key for this element CLASS Sets the style sheet class this element should use HTML Language Reference 289 Attribute Description DATAFLD Sets the field of a given data source to bind to this element DATASRC Sets the source of the data for binding DIR Sets the reading order of this element DISABLED Sets the status of the element ID Sets the ID of the element LANG Sets the language for this element LANGUAGE Sets the client-side scripting language that this element should use NAME Sets the name of the element STYLE Sets style-sheet-specific information for this element TABINDEX Sets the tab order of this element TITLE Sets a Tool Tip for this element TYPE Specifies the type of button this element is VALUE Sets the default selected value of this element CAPTION Specifies a caption to be placed next to a table. CAPTION Attributes Attribute Description ALIGN Sets the position of the element relative to the table CLASS Sets the style sheet class this element should use ID Sets the ID of the element STYLE Sets style-sheet-specific information for this element CITE Renders text in italics. CITE Attributes Attribute Description CLASS Sets the style sheet class this element should use ID Sets the ID of the element STYLE Sets style-sheet-specific information for this element CODE Renders text as a code sample using a fixed-width font. CODE Attributes Attribute Description CLASS Sets the style sheet class this element should use ID Sets the ID of the element STYLE Sets style-sheet-specific information for this element 290 Appendix A ■ HTML Language Reference COL Specifies column-based defaults for a table. COL Attributes Attribute Description ALIGN Sets the horizontal alignment of the element CLASS Sets the style sheet class this element should use ID Sets the ID of the element SPAN Sets the number of columns in the group STYLE Sets style-sheet-specific information for this element VALIGN Sets the vertical alignment of the element WIDTH Sets the width of the element COLGROUP Sets a container for a group of columns. COLGROUP Attributes Attribute Description ALIGN Sets the horizontal alignment of the element CLASS Sets the style sheet class this element should use ID Sets the ID of the element SPAN Sets the number of columns in the group STYLE Sets style-sheet-specific information for this element VALIGN Sets the vertical alignment of the element WIDTH Sets the default width for each column in the group DD This specifies the definition of an item in a definition list. DD Attributes Attribute Description CLASS Sets the style sheet class this element should use ID Sets the ID of the element STYLE Sets style-sheet-specific information for this element HTML Language Reference 291 DFN Defines an instance of a term. DFN Attributes Attribute Description CLASS Sets the style sheet class this element should use ID Sets the ID of the element STYLE Sets style-sheet-specific information for this element DIR Renders text so it appears like a directory listing. DIR Attributes Attribute Description CLASS Sets the style sheet class this element should use COMPACT Sets a Boolean value specifying whether the list should be compacted by removing white space between the items ID Sets the ID of the element STYLE Sets style-sheet-specific information for this element DIV Defines a container section or a new layer within a page. DIV Attributes Attribute Description ALIGN CLASS DATAFLD DATAFORMAT DATASRC DIR ID LANG LANGUAGE NOWRAP STYLE TABINDEX TITLE Sets the horizontal alignment of the element Sets the style sheet class this element should use Sets the field of a given data source to bind to this element Sets how to render the specified data source, as HTML or text Sets the source of the data for binding for this element Sets the reading direction for this element Sets the ID of the element Sets the language of the element Sets the client-side scripting language this element should use Sets the browser to not automatically wrap text Sets style-sheet-specific information for this element Sets the tab order for this element Sets a Tool Tip for this element 292 Appendix A ■ HTML Language Reference DL Starts a definition list. DL Attributes Attribute Description CLASS Sets the style sheet class this element should use COMPACT Sets a Boolean value specifying whether the list should be compacted by removing white space between the items ID Sets the ID of the element STYLE Sets style-sheet-specific information for this element DT Starts a definition term in a definition list. DT Attributes Attribute Description CLASS Sets the style sheet class this element should use ID Sets the ID of the element STYLE Sets style-sheet-specific information for this element EM Renders text as emphasized; basically just bolds the text. EM Attributes Attribute Description CLASS Sets the style sheet class this element should use ID Sets the ID of the element STYLE Sets style-sheet-specific information for this element EMBED Embeds a document of any type into the page. EMBED Attributes Attribute Description ALIGN Sets the horizontal alignment of the element ALT Sets the alternate text for the element BORDER Sets the amount of border the element will have CLASS Sets the style sheet class this element should use HEIGHT Sets the height of the element HTML Language Reference 293 Attribute Description ID Sets the ID of the element NAME Sets the name of the element PLUGINSPAGE Retrieves a URL of the plug-in to be used to view the embedded document SRC Sets a URL to be loaded STYLE Sets style-sheet-specific information for this element TITLE Sets a Tool Tip for this element WIDTH Sets the width of the element FIELDSET Draws a box around the contained elements. FIELDSET Attributes Attribute Description ALIGN Sets the horizontal alignment of the element CLASS Sets the style sheet class this element should use ID Sets the ID of the element STYLE Sets style-sheet-specific information for this element FONT Allows you to specify a font face, size, and color for a section of text. FONT Attributes Attribute Description CLASS Sets the style sheet class this element should use COLOR Sets the color of the text for this element FACE Sets the font for this element ID Sets the ID for the element SIZE Sets the size of the font for this element STYLE Sets style-sheet-specific information for this element FORM Creates a form that can contain controls and elements whose values are sent to the server. FORM Attributes Attribute Description ACTION Specifies the URL for processing CLASS Sets the style sheet class this element should use ENCTYPE Sets the encoding type of the form ID Sets the ID for the element 294 Appendix A ■ HTML Language Reference Attribute Description METHOD Sets how the form will transfer its data to the server NAME Sets the name of the element STYLE Sets style-sheet-specific information for this element FRAME Specifies a individual frame within a frameset. FRAME Attributes Attribute Description ALIGN Sets the horizontal alignment of the element BORDERCOLOR Sets the border color of the element CLASS Sets the style sheet class this element should use DATAFLD Sets the field of a given data source to bind to this element DATASRC Sets the source of the data for binding for this element FRAMEBORDER Sets whether or not the element will have a border HEIGHT Sets the height of the element ID Sets the ID of the element MARGINHEIGHT Sets the height of the margin MARGINWIDTH Sets the width of the margin NAME Sets the name of the element NORESIZE Sets the frame at a fixed width so the user can not resize the frame SCROLLING Sets whether the frame will allow scrolling or not SRC Sets a URL to be loaded by the element STYLE Sets style-sheet-specific information for this element FRAMESET Specifies a frameset that can contain multiple frames and other nested framesets. FRAMESET Attributes Attribute Description BORDER Sets the amount of border for the frameset to have BORDERCOLOR Sets the border color for this element CLASS Sets the style sheet class this element should use COLS Sets the widths of the columns in the frameset FRAMEBORDER Sets whether or not to display a border FRAMESPACING Sets the amount of space between frames ID Sets the ID of the element ROWS Sets the height of the rows in the frameset STYLE Sets style-sheet-specific information for this element HTML Language Reference 295 HEAD Begins the heading of an HTML document, and contains tags holding information about the document. HEAD Attributes Attribute Description CLASS Sets the style sheet class this element should use ID Sets the ID of the element PROFILE Sets one or more Uniform Resource Identifiers of meta-data profiles STYLE Sets style-sheet-specific information for this element HN The six headers (H1 – H6) that can render text in a range of sizes. HN Attributes Attribute Description ALIGN Sets the horizontal alignment of the element CLASS Sets the style sheet class this element should use ID Sets the ID of the element STYLE Sets style-sheet-specific information for this element HR Places a horizontal rule on the page. HR Attributes Attribute Description ALIGN CLASS COLOR ID NOSHADE SIZE STYLE Sets the horizontal alignment of the element Sets the style sheet class this element should use Sets the color of the element Sets the ID of the element Sets the element to render without 3-D shading Sets the size of the element Sets style-sheet-specific information for this element 296 Appendix A ■ HTML Language Reference HTML Starts the HTML document itself. I Renders a range of text in italics. I Attributes Attribute Description CLASS Sets the style sheet class this element should use STYLE Sets style-sheet-specific information for this element IFRAME Creates an in-line floating frame in the page. IFRAME Attributes Attribute Description ALIGN BORDER BORDERCOLOR CLASS DATAFLD DATASRC FRAMEBORDER HEIGHT HSPACE ID MARGINHEIGHT MARGINWIDTH NAME NORESIZE SCROLLING SRC STYLE VSPACE WIDTH Sets the horizontal alignment of the element Sets the amount of border for the element Sets the color of the border for the element Sets the style sheet class this element should use Sets the field of a given data source to bind to this element Sets the source of the data for binding for this element Sets whether or not the element will have a border Sets the height of the element Sets the horizontal margin for the element Sets the ID for this element Sets the height of the margin Sets the width of the margin Sets the name of the element Sets the frame at a fixed width so the user can not resize the frame Sets whether the frame will allow scrolling or not Sets a URL to be loaded by the element Sets style-sheet-specific information for this element Sets the vertical margin for the element Sets the width of the element HTML Language Reference 297 IMG Embeds an image in the page. IMG Attributes Attribute Description ACCESSKEY ALIGN ALT BORDER ID HEIGHT NAME SRC USEMAP WIDTH Sets or retrieves the accessibility key Sets the horizontal alignment of the element Sets the alternate text for the element Sets the amount of border for the element Sets the ID of the element Sets the height of the element Sets the name of the element Sets the URL to be loaded by the element Sets what image map to use Sets the width of the element INPUT Specifies an input control for a form. The input control could be a button, check box, radio button, text box, or password box. INPUT Attributes Attribute Description ACCEPT ACCESSKEY ALIGN ALT CHECKED CLASS DATAFLD DATAFORMAT DATASRC HSPACE ID MAXLENGTH NAME READONLY SIZE STYLE TABINDEX TYPE VALUE Sets a set of comma-separated content types that will be accepted by the element Sets or retrieves the accessibility key Sets the horizontal alignment of the element Sets the alternate text for this element Sets whether the field is checked Sets the style sheet class this element should use Sets the field of a given data source to bind to this element Sets how to render the specified data source, as HTML or text Sets the source of the data for binding for this element Sets the horizontal margin of the element Sets the ID of the element Sets the maximum number of characters accepted for this element Sets the name of the element Specifies that the element is read only Sets the size of the element Sets style-sheet-specific information for this element Sets the tabbing order for this element Sets the type of input this element will be Sets the initial value for the element [...]... specified PHP configuration Returns the value of the current user Returns the current settings for magic quotes Returns the current settings for magic quotes Returns the value of a specific environment variable Returns the time when the current page was last modified Returns the inode of the current running script Returns the process ID that PHP is running on Returns the user ID for the current PHP script’s... for the current PHP script’s owner Returns the current resource usage Outputs all configuration information about the PHP configuration Returns the current version of PHP that you are running Sets the value of the environment variable Enables or disables magic quotes Sets the timeout for PHP scripts Function Returns Description connection_aborted() Integer Integer Boolean void Mixed void Boolean Integer... getmyinode() getmypid() getmyuid() getrusage([who]) phpinfo() phpversion() putenv(value) set_magic_quotes_runtime(setting) set_time_limit(seonds) Miscellaneous Functions connection_status() connection_timeout() die(message) eval(string) exit() function_exists(name) ignore_user_abort([setting]) iptcparse(iptcblock) leak(bytes) pack(format, [args]) Array void String PHP Language Reference 323 Function Returns... ldap_next_attribute(link_id, result, ber_id) ldap_next_entry(link_id, result) ldap_read(link_id, base_dn, filter, [attributes]) 322 Appendix B ■ PHP Language Reference Mail Function Function Returns Description mail(to, subject, message, [headers]) Boolean Sends an e-mail from the admin of PHP to the specified e-mail account Function Returns Description error_log(message, message_type, [dest], [headers]) Integer Sends... Attributes Attribute Description CONTENT HTTP-EQUIV NAME Sets the meta content Sets information to be used to bind the content to the HTTP headers Sets the name of the value specified in the content 299 300 Appendix A ■ HTML Language Reference NOFRAMES Specifies the section of text to display for browsers that do not support framesets NOFRAMES Attributes Attribute Description CLASS ID STYLE Sets the... of the element Sets style-sheet-specific information for this element Sets the type of bullet that LI will create 307 This page intentionally left blank appendix B PHP Language Reference T his appendix is a complete guide to all of the PHP functions available to you Each function is broken into sections that the function should fall under Then each function is listed with the parameters it receives,... kills the execution of the script Evaluates the string as PHP code Stops execution of the current script Checks to see whether or not a function exists Sets or returns whether a client disconnecting will stop execution of a script Parses the iptcblock into an array Leaks the specified amount of memory Packs the argument into a binary string PHP Options extension_loaded(extension_name) get_cfg_var(var)... the first element from the array and returns it virtual(string filename) Array Functions array_keys(array) array_merge(arrays) array_pop(array) array_push(array, variables) array_shift(array) 3 09 310 Appendix B ■ PHP Language Reference Function Returns Description array_slice(array, offset [,length]) Array array_splice(input, offset [,length] [,replacement]) Array array_unshift(array, variables) Integer... command Encryption Functions mcrypt_get_cipher_name(cipher) mcrypt_get_key_size(cipher) mcrypt_ofb(cipher, key, data, mode, iv) Execution Functions exec(command, [array], [return_var]) 314 Appendix B ■ PHP Language Reference Function Returns Description passthru(command, [return_var]) void String Executes the specified command and displays the raw output Executes the specified command and displays the... dirname(path) diskfreespace(dir) fclose(fp) feof(fp) fgetc(fp) fgetcsv(fp, length, [delimiter]) fgets(p, length) fegetss(fp, length) file(filename) file_exists(filename) String Array String String Array Boolean PHP Language Reference 315 Function Returns Description fileatime(filename) Integer Integer Integer Integer Integer Integer Integer Integer String Boolean Integer Integer Returns the time the file was . style-sheet-specific information for this element HTML Language Reference 299 MAP Defines the collection of hot spots for an image map. MAP Attributes Attribute Description CLASS Sets the. ID Sets the ID of the element STYLE Sets style-sheet-specific information for this element 290 Appendix A ■ HTML Language Reference COL Specifies column-based defaults for a table. COL. element STYLE Sets style-sheet-specific information for this element HTML Language Reference 291 DFN Defines an instance of a term. DFN Attributes Attribute Description CLASS Sets the

Ngày đăng: 12/08/2014, 21:21