Most Referenced Functions
  » google_pagerank()
  » preg_replace()
  » imagecreatefrompng()
  » site_pageranks()
  » imagepng()
  » imagedestroy()
  » imagestring()
  » imagecolorallocate()
  » htmlentities()
  » preg_match()
  » fopen()
  » header()
  » getimagesize()
  » preg_match_all()
  » session_start()
  » htmlspecialchars()
  » ob_start()
  » ob_flush()
  » strstr()
  » flush()
  » strpos()
  » setcookie()
  » str_replace()
  » array2vars()
  » nl2br()
  » preg_split()
  » ereg()
  » ereg_replace()
  » urlencode()
  » 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: posix_uname

(PHP 3 >= 3.0.10, PHP 4, PHP 5)

posix_uname -- Get system name

Description

array posix_uname ( void )

Returns a hash of strings with information about the system. The indices of the hash are

sysname - operating system name (e.g. Linux)

nodename - system name (e.g. valiant)

release - operating system release (e.g. 2.2.10)

version - operating system version (e.g. #4 Tue Jul 20 17:01:36 MEST 1999)

machine - system architecture (e.g. i586)

domainname - DNS domainname (e.g. example.com)

domainname is a GNU extension and not part of POSIX.1, so this field is only available on GNU systems or when using the GNU libc.

Posix requires that you must not make any assumptions about the format of the values, e.g. you cannot rely on three digit version numbers or anything else returned by this function.

CVIII. Printer Functions

Introduction

These functions are only available under Windows 9.x, ME, NT4 and 2000. They have been added in PHP 4.0.4.

Installation

This PECL extension is not bundled with PHP.

Windows users must enable php_printer.dll inside of php.ini in order to use these functions. You may obtain this unbundled PECL extension from the various PECL snaps pages (select the appropriate repository for your version of PHP): PECL for PHP 4.3.x , PECL for PHP 5.0.x or PECL Unstable .

Runtime Configuration

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

Table 1. Printer configuration options

Name Default Changeable Changelog printer.default_printer "" PHP_INI_ALL   For further details and definitions of the PHP_INI_* constants, see the Appendix H .

Table of Contents printer_abort  -- Deletes the printer's spool file printer_close  -- Close an open printer connection printer_create_brush  -- Create a new brush printer_create_dc  -- Create a new device context printer_create_font  -- Create a new font printer_create_pen  -- Create a new pen printer_delete_brush  -- Delete a brush printer_delete_dc  -- Delete a device context printer_delete_font  -- Delete a font printer_delete_pen  -- Delete a pen printer_draw_bmp  -- Draw a bmp printer_draw_chord  -- Draw a chord printer_draw_elipse  -- Draw an ellipse printer_draw_line  -- Draw a line printer_draw_pie  -- Draw a pie printer_draw_rectangle  -- Draw a rectangle printer_draw_roundrect  -- Draw a rectangle with rounded corners printer_draw_text  -- Draw text printer_end_doc  -- Close document printer_end_page  -- Close active page printer_get_option  -- Retrieve printer configuration data printer_list  -- Return an array of printers attached to the server printer_logical_fontheight  -- Get logical font height printer_open  -- Open connection to a printer printer_select_brush  -- Select a brush printer_select_font  -- Select a font printer_select_pen  -- Select a pen printer_set_option  -- Configure the printer connection printer_start_doc  -- Start a new document printer_start_page  -- Start a new page printer_write  -- Write data to the printer

Related Function(s)

  • printer_abort()
  • printer_close()
  • printer_create_brush()
  • printer_create_dc()
  • printer_create_font()
  • printer_create_pen()
  • printer_delete_brush()
  • printer_delete_dc()
  • printer_delete_font()
  • printer_delete_pen()
  • printer_draw_bmp()
  • printer_draw_chord()
  • printer_draw_elipse()
  • printer_draw_line()
  • printer_draw_pie()
  • printer_draw_rectangle()
  • printer_draw_roundrect()
  • printer_draw_text()
  • printer_end_doc()
  • printer_end_page()
  • printer_get_option()
  • printer_list()
  • printer_logical_fontheight()
  • printer_open()
  • printer_select_brush()
  • printer_select_font()
  • printer_select_pen()
  • printer_set_option()
  • printer_start_doc()
  • printer_start_page()
  • printer_write()
  • Icemelon -- PHP, CSS, Javascript Tutorials, & More!
      © 2005-2010 Icemelon.com   Email: dave[AT]icemelon[D0T]c0m