This action might not be possible to undo. Are you sure you want to continue?
OOP adds necessary simplicity. OOP adds unnecessary complexity. PHP is a Server-Side scripting Language Do we need OOP ? PHP OOP Rule: • For a simple site. • For a complex site. .
Read.Contents and Operations : Uploaded Photographs Add. Delete operations on the uploaded Photograph (To maintain Log for the Images in the SERVER) Comment to the corresponding Photograph Downloading the Uploaded Photograph .
php.ini uploading checklist on ( or ‘true’ or ‘1’) NULL (uses system’s temp directory) 8M 2M 30 ( in sec ) -1 ( no limit ) 128M file_uploads upload_temp_dir post_max_size upload_max_filesize max_execution _time max_input_time memory_limit .
Additional Super-Global variable : $_FILE[‘form_input’] Keys in the associative array: name type size tmp_name Error Original file name Mime type (“image/gif”) Size in bytes Temp file name on Server Error code .
List of Errors: UPLOAD_ERR_OK UPLOAD_ERR_INI_SIZE UPLOAD_ERR_FORM_SIZE UPLOAD_ERR_PARTIAL UPLOAD_ERR_NO_FILE UPLOAD_ERR_NO_TMP_DIR UPLOAD_ERR_CANT_WRITE UPLOAD_ERR_EXTENSION 0 No Error 1 Larger than Upload_max_filesize 2 Larger than MAX_FILE_SIZE 3 Partial Upload 4 No File 5 No Temporary Directory 6 Can’t write to Disk 7 File Upload stopped by extension .