Hello all!
I can`t make up loading (files very big) with the bowser.
I change the file PHP.ini (I put max size for the files = 50 mega) but not function.
This is the form html:
<head>
<title>Upload ficheros</title>
</head>
<body bgcolor="#3F5776" >
<form enctype="multipart/form-data" method="post" action="do_upload.php" name="MAX_FILE_SIZE" value="5000000">
<p align="center">
<input type="file" name="img1" size="30">
<input type="submit" name="submit" value="Upload File">
</p>
</form>
</body>
and this is the php file (do_upload.php):
<?
if ($img1_name != "") {
copy("$img1", "../Public/$img1_name")
or die("Es Imposible copiar el fichero!");
} else {
die("fichero no expecificado");
}
?>
<head>
<title>File uploadato con successo!</title>
<body bgcolor="#3F5776">
<h4 align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF">Has
enviado un fichero:
<? echo "$img1_name"; ?>
, de
<? echo "$img1_size"; ?>
bytes di tipo
<? echo "$img1_type"; ?>
.</font></h4>
<P> </p>
</body>
thanx