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.
Since PHP 4.2.0, PHP returns an appropriate error code along with the
file array. The error code can be found in the
error segment of the file array that is created
during the file upload by PHP. In other words, the error might be
found in $_FILES['userfile']['error'].
Value: 0; There is no error, the file uploaded with success.
Value: 1; The uploaded file exceeds the upload_max_filesize directive in php.ini.
Value: 2; The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.
Value: 3; The uploaded file was only partially uploaded.
Value: 4; No file was uploaded.
Value: 6; Missing a temporary folder. Introduced in PHP 4.3.10 and PHP 5.0.3.
Value: 7; Failed to write file to disk. Introduced in PHP 5.1.0.
Value: 8; File upload stopped by extension. Introduced in PHP 5.2.0.
Note: These became PHP constants in PHP 4.3.0.
Another Useful functions:
zend.ini-file-support | zend-api.zend-get-scanned-file-offset | zend-api.zend-file-handle-dtor | zend-api.zend-destroy-file-handle | zend-api.virtual-file-ex | zend-api.open-file-for-scanning | streams.file-api | function.xdiff-file-patch | function.xdiff-file-patch-binary | function.xdiff-file-merge3 | function.xdiff-file-diff | function.xdiff-file-diff-binary | function.set-file-buffer | function.mysqli-set-local-infile-handler | function.mysqli-set-local-infile-default | function.ifx-blobinfile-mode | function.file-put-contents | function.file-get-contents | function.file-exists | features.file-upload.put-method | features.file-upload.multiple | features.file-upload | features.file-upload.errors | features.file-upload.common-pitfalls |
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.