Most Referenced Functions
  » google_pagerank()
  » preg_replace()
  » imagecreatefrompng()
  » site_pageranks()
  » imagepng()
  » imagedestroy()
  » imagestring()
  » imagecolorallocate()
  » htmlentities()
  » fopen()
  » preg_match()
  » header()
  » getimagesize()
  » htmlspecialchars()
  » ob_start()
  » session_start()
  » strstr()
  » ob_flush()
  » preg_match_all()
  » strpos()
  » setcookie()
  » flush()
  » str_replace()
  » array2vars()
  » nl2br()
  » preg_split()
  » ereg()
  » urlencode()
  » ereg_replace()
  » readgzfile()

Become a sponsor for $15/month. Link is sitewide - PR5 homepage, 20+ PR4 pages, 90+ PR3 pages. Email dave[AT]icemelon[D0T]c0m.

PHP Functions

Function: SWFTextField

(PHP 4 >= 4.0.5)

SWFTextField -- Creates a text field object

Description

SWFTextField swftextfield ( [int flags] )

Warning

This function is EXPERIMENTAL . The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

swftextfield() creates a new text field object. Text Fields are less flexible than swftext() objects- they can't be rotated, scaled non-proportionally, or skewed, but they can be used as form entries, and they can use browser-defined fonts.

The optional flags change the text field's behavior. It has the following possibles values :

SWFTEXTFIELD_DRAWBOX draws the outline of the textfield

SWFTEXTFIELD_HASLENGTH

SWFTEXTFIELD_HTML allows text markup using HTML-tags

SWFTEXTFIELD_MULTILINE allows multiple lines

SWFTEXTFIELD_NOEDIT indicates that the field shouldn't be user-editable

SWFTEXTFIELD_NOSELECT makes the field non-selectable

SWFTEXTFIELD_PASSWORD obscures the data entry

SWFTEXTFIELD_WORDWRAP allows text to wrap

Flags are combined with the bitwise OR operation. For example,
<?php
$t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); 
?>
creates a totally useless non-editable password field.

SWFTextField has the following methods : swftextfield->setfont() , swftextfield->setbounds() , swftextfield->align() , swftextfield->setheight() , swftextfield->setleftmargin() , swftextfield->setrightmargin() , swftextfield->setmargins() , swftextfield->setindentation() , swftextfield->setlinespacing() , swftextfield->setcolor() , swftextfield->setname() and swftextfield->addstring() .

LXXVI. Miscellaneous Functions

Introduction

These functions were placed here because none of the other categories seemed to fit.

Requirements

No external libraries are needed to build this extension.

Installation

There is no installation needed to use these functions; they are part of the PHP core.

Runtime Configuration

The behaviour of these functions is affected by settings in php.ini .

Table 1. Misc. Configuration Options

Name Default Changeable Changelog ignore_user_abort "0" PHP_INI_ALL   highlight.string "#DD0000" PHP_INI_ALL   highlight.comment "#FF8000" PHP_INI_ALL   highlight.keyword "#007700" PHP_INI_ALL   highlight.bg "#FFFFFF" PHP_INI_ALL   highlight.default "#0000BB" PHP_INI_ALL   highlight.html "#000000" PHP_INI_ALL   browscap NULL PHP_INI_SYSTEM   For further details and definitions of the PHP_INI_* constants, see the Appendix H .

Here's a short explanation of the configuration directives.

ignore_user_abort boolean

TRUE by default. If changed to FALSE scripts will be terminated as soon as they try to output something after a client has aborted their connection.

Related Function(s)

  • swftext()
  • ignore_user_abort()
  • get_browser()
  • connection_aborted()
  • connection_status()
  • connection_timeout()
  • constant()
  • define()
  • defined()
  • die()
  • exit()
  • eval()
  • halt_compiler()
  • highlight_file()
  • highlight_string()
  • pack()
  • php_check_syntax()
  • php_strip_whitespace()
  • show_source()
  • sleep()
  • time_nanosleep()
  • time_sleep_until()
  • uniqid()
  • unpack()
  • usleep()
  • Icemelon -- PHP, CSS, Javascript Tutorials, & More!
      © 2005-2010 Icemelon.com   Email: dave[AT]icemelon[D0T]c0m