Stats: 3,190,732 members, 7,941,768 topics. Date: Friday, 06 September 2024 at 01:01 PM |
Nairaland Forum / Science/Technology / Programming / Simple Tips For PHP File Upload (902 Views)
A Thread For PHP Code Igniter Framework Tutorial / Looking For Php Freelancers To Work On A Big Project With Me / SMS Gateway For Php (2) (3) (4)
(1) (Reply)
Simple Tips For PHP File Upload by skptricks: 6:44am On Oct 16, 2017 |
With the help of php, it is very easy to upload files to the server. PHP file upload features allows you to upload binary and text files both. Depending upon the requirement one can upload single and multiple files through PHP script by modifying the few line of codes. PHP $_FILES The PHP global $_FILES contains all the information of file. By the help of $_FILES global, we can get file name, file type, file size, temp file name and errors associated with file. Lets see the more examples, through which you will learn how to access the $_FILES global. $_FILES['filename']['name'] It will return the file name $_FILES['filename']['type'] It will return MIME type of the file. $_FILES['filename']['size'] It will return size of the file in bytes. for more description : http://www.skptricks.com/2017/10/php-file-upload-using-post-method.html
|
(1) (Reply)
Would You Read Your Bible In Pidgin? / Get Source Codes At Affordable Price....� / Software Developer Wanted
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 8 |