Saturday, March 30, 2013

PHP's print_r($_FILES) look like

<?php
print_r($_FILES);
/*
THE ABOVE CODE OUTPUTS:
Array
(
[image] => Array
(
[name] => aircraft war military fighter pilot cockpit planes vehicles jet aircraft 3000x1928 wallpaper_www.wallpaperhi.com_6.jpg
[type] => image/jpeg
[tmp_name] => /Applications/MAMP/tmp/php/phpzqf0Y6
[error] => 0
[size] => 383379
)

)
*/

No comments:

Post a Comment