problem when uploading file
- by Syom
i have the form, and i want to upload two files.
here is the script
<form action="form.php" method="post" enctype="multipart/form-data" />
<input type="file" name="video" />
<input type="file" name="picture" >
<input type="submit" class="input" value="?????" />
<input type="hidden" name="MAX_FILE_SIZE" value="100000000" />
</form>
form.php:
<?
print_r($_FILES);
$video_name = $_FILES["video"]["name"];
$image_name = $_FILES["picture"]["name"];
echo "video",$video_name;
echo "image",$image_name;
//returns Array ( ) videoimage
?>
when i try to upload the file greater than 10MB, it doesn't happen. i try in many browsers.
maybe i must change some field in php.ini? but i haven't permission to change them on the server. so what can i do?
thanks