recent searches:
include functions ,
variable functions ,
post functions...
If you are new to PHP or just need to refresh your skills, this is the place to start. This series of tutorials will give you the basic knowledge you will need to create a simple PHP website.
PHP is a reflective programming language originally designed for producing dynamic web pages.[1] PHP is used mainly in server-side scripting, but can be used from a command line interface or in standalone graphical applications. Textual User Interfaces can also be created using ncurses.
Mailparse is an extension for parsing and working with email messages. It can deal with RFC 822 and RFC 2045 (MIME) compliant messages.
Mailparse is stream based, which means that it does not keep in-memory copies of the files it processes - so it is very resource efficient when dealing with large messages.
Note: Mailparse requires the mbstring extension.
This extension has been moved to the PECL repository and is no longer bundled with PHP as of PHP 4.2.0.
This PECL extension is not bundled with PHP. Information for installing this PECL extension may be found in the manual chapter titled Installation of PECL extensions. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: http://pecl.php.net/package/mailparse.
In order to use these functions you must compile PHP with mailparse support
by using the --enable-mailparse configure
option.
Windows users will enable php_mailparse.dll inside of php.ini in order to use these functions. The DLL for this PECL extension may be downloaded from either the PHP Downloads page or from http://pecl4win.php.net/
The behaviour of these functions is affected by settings in php.ini.
Table 1. Mailparse configuration options
| Name | Default | Changeable | Changelog |
|---|---|---|---|
| mailparse.def_charset | "us-ascii" | PHP_INI_ALL |
The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.
Another Useful functions:
ref.mailparse | function.mailparse-uudecode-all | function.mailparse-stream-encode | function.mailparse-rfc822-parse-addresses | function.mailparse-msg-parse | function.mailparse-msg-parse-file | function.mailparse-msg-get-structure | function.mailparse-msg-get-part | function.mailparse-msg-get-part-data | function.mailparse-msg-free | function.mailparse-msg-extract-whole-part-file | function.mailparse-msg-extract-part | function.mailparse-msg-extract-part-file | function.mailparse-msg-create | function.mailparse-determine-best-xfer-encoding |
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section.