Skip to content

Instantly share code, notes, and snippets.

Created January 17, 2012 09:46
What would you like to do?
PHP Upload file - upload_max_filesize
if (isset($_FILES['test'])) {
$filetemp = $_FILES['test']['tmp_name']['file01'];
echo 'file tmp location : '.$filetemp.'<br />';
echo 'is file on disk ? : '.file_exists($filetemp).'<br />';
<form action="" method="post" enctype="multipart/form-data">
<input type="file" name="test[file01]">
<input type="submit">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment