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.
Magic Quotes is a process that automagically escapes incoming data to the PHP script. It's preferred to code with magic quotes off and to instead escape the data at runtime, as needed.
When on, all ' (single-quote), " (double quote), \ (backslash) and NULL characters are escaped with a backslash automatically. This is identical to what addslashes() does.
There are three magic quote directives:
Affects HTTP Request data (GET, POST, and COOKIE). Cannot be set at runtime, and defaults to on in PHP.
See also get_magic_quotes_gpc().
If enabled, most functions that return data from an external source, including databases and text files, will have quotes escaped with a backslash. Can be set at runtime, and defaults to off in PHP.
See also set_magic_quotes_runtime() and get_magic_quotes_runtime().
If enabled, a single-quote is escaped with a single-quote instead of a backslash. If on, it completely overrides magic_quotes_gpc. Having both directives enabled means only single quotes are escaped as ''. Double quotes, backslashes and NULL's will remain untouched and unescaped.
See also ini_get() for retrieving its value.
Another Useful functions:
zend-api.zend-check-magic-method-implementation | security.magicquotes.whynot | security.magicquotes.why | security.magicquotes | security.magicquotes.disabling | ref.mime-magic | ref.imagick | language.oop5.magic | language.oop.magic-functions | function.set-magic-quotes-runtime | function.imagick-zoom | function.imagick-writeimages | function.imagick-writeimage | function.imagick-wave | function.imagick-unsharpmask | function.imagick-transparent | function.imagick-transformrgb | function.imagick-threshold | function.imagick-swirl | function.imagick-spread | function.imagick-solarize | function.imagick-shear | function.imagick-sharpen | function.imagick-shade | function.imagick-setfontstyle | function.imagick-setfontsize | function.imagick-setfontface | function.imagick-setfillopacity | function.imagick-setfillcolor | function.imagick-setdpi | function.imagick-setcompressiontype | function.imagick-setcompressionquality | function.imagick-set-image-quality | function.imagick-set-image-comment | function.imagick-scale | function.imagick-sample | function.imagick-rotate | function.imagick-roll | function.imagick-resize | function.imagick-reducenoise | function.imagick-readimage | function.imagick-read | function.imagick-raise | function.imagick-pushlist | function.imagick-profile | function.imagick-prev | function.imagick-poplist | function.imagick-ordereddither | function.imagick-oilpaint | function.imagick-normalize | function.imagick-next | function.imagick-newimagelist | function.imagick-negate | function.imagick-motionblur | function.imagick-mosaic | function.imagick-modulate | function.imagick-minify | function.imagick-medianfilter | function.imagick-magnify | function.imagick-level | function.imagick-ispaletteimage | function.imagick-isopaqueimage | function.imagick-ismonochromeimage | function.imagick-isimagesequal | function.imagick-isgrayimage | function.imagick-iserror | function.imagick-implode | function.imagick-image2blob | function.imagick-goto | function.imagick-getwidth | function.imagick-getnumbercolors | function.imagick-getmimetype | function.imagick-getmagick | function.imagick-getlistsize | function.imagick-getlistindex | function.imagick-getimagetype | function.imagick-getimagefromlist | function.imagick-getimagedepth | function.imagick-getheight | function.imagick-getdpiy | function.imagick-getdpix | function.imagick-getcolorspace | function.imagick-getcanvas | function.imagick-gaussianblur | function.imagick-gamma | function.imagick-free | function.imagick-frame | function.imagick-flop | function.imagick-flip | function.imagick-flatten | function.imagick-first | function.imagick-failedreason | function.imagick-faileddescription | function.imagick-error | function.imagick-equalize | function.imagick-enhance | function.imagick-emboss | function.imagick-edge | function.imagick-drawrectangle | function.imagick-drawpoint | function.imagick-drawline | function.imagick-drawellipse | function.imagick-drawcircle | function.imagick-drawarc | function.imagick-drawannotation | function.imagick-destroyhandle | function.imagick-despeckle | function.imagick-crop | function.imagick-convert | function.imagick-contrast | function.imagick-composite | function.imagick-clonehandle | function.imagick-chop | function.imagick-charcoal | function.imagick-border | function.imagick-blur | function.imagick-blob2image | function.imagick-begindraw | function.get-magic-quotes-runtime | function.get-magic-quotes-gpc |
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.