WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Index
Web Development Resources
Web Development Content
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
Mobile Dev World
Get internal settings of mbstring

mb_get_info

(PHP 4 >= 4.2.0, PHP 5)

mb_get_infoGet internal settings of mbstring

Description

mixed mb_get_info ([ string $type= "all" ] )

mb_get_info() returns the internal setting parameters of mbstring.

Parameters

type

If type isn't specified or is specified to "all", an array having the elements "internal_encoding", "http_output", "http_input", "func_overload", "mail_charset", "mail_header_encoding", "mail_body_encoding" will be returned.

If type is specified as "http_output", "http_input", "internal_encoding", "func_overload", the specified setting parameter will be returned.

Return Values

An array of type information if type is not specified, otherwise a specific type .

Changelog

Version Description
5.1.3 The entries "mail_charset", "mail_header_encoding", and "mail_body_encoding" were made available.
5.3.0 The entry "http_output_conv_mimetypes" was made available.

See Also


Format US phone number version 2. Rewritten to have an invalid statement output, and to include a extension number, up to four digets.
Categories : PHP, Regexps
Get the root of a number with any precision
Categories : Algorithms, BC math, Math.
GetCombo Combo-BOX - Abstraction With function you can retrieve the combo-box structure with its data.
Categories : PHP, HTML and PHP



Pageinfo: Array containing page URI, page query string (parameters), request method (GET or POST) and the complete URI
Categories : Variables, PHP Options and Info, Arrays, URLs, PHP
Shows how to parse a file and how to use the new __get magic method (PHP5). The provided class can be used in any unix-like environment to retrieve user information (you must have access to /etc/passwd in order to work).
Categories : PHP, PHP Classes, Filesystem
How to find the error meaning of an Informix error number.
Categories : Databases, Informix, Debugging
How to get the 10 biggest numbers out of an INT column.
Categories : General SQL, Databases
Function get_week_number which returns the week number of the given date according to ISO 8601:1988, also includes a function is_leap_year.
Categories : Date Time, PHP
This script will read all images from a folder and read the files into an array. It uses rand() to get a random number. It will display a random image from the image folder given.
Categories : PHP, Arrays, Graphics, Filesystem
How to store the info about each shopper on your shopping cart? This is the code to track your "buyers" , you will want this info when getting an inquiry from them... Very neat, use session, include and select whether receive the data or not..
Categories : PHP, Ecommerce
The following snippet gives complete info about all submitted HTTP_POST_VARS and HTTP_GET_VARS
Categories : Variables, HTTP, PHP
Creating thumbnails from MySQL Blobs online
Categories : PHP, MySQL, Graphics, HTML and PHP, Databases
This script will return all of the information in every table listed in $myarray, and will return lists of field names and information for each item,
Categories : PHP, MS Access, Databases
Class for processing image (resizing the image size to create thumb nails and small images from actual image without loosing the aspect ratio of the image)
Categories : PHP, PHP Classes, Graphics