HELP?
Here is something I can\'t solve!
I get the folowing error in my browser!
when I\'m trying to run the program.
e-g. selecting a file and pressing \"Send fil\"
I\'m only a beginner, so I hope you can help mee!:-)
errormessage------
Warning: Max file size of 2 bytes exceeded - file [SendFile] not saved in Unknown on line 0
#Path: none
Name: Mailalias.txt
Type: text/plain
Size: 0
Program--------
<head>
<title>Listing 9.10 -Simple file upload</title>
</head>
<?php
print \"Path: $SendFile<br>\n\";
print \"Name: $SendFile_name<br>\n\";
print \"Type: $SendFile_type<br>\n\";
print \"Size: $SendFile_size<br>\n\";
?>
<form enctype=\"multipart/form-data\" action=\"<?=$PHP_SELF?> \" method=\"POST\">
<input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"51200\">
<input type=\"file\" name=\"SendFile\"><br>
<input type=\"submit\" value=\"Send file!\"><br>
</Form>
</body>
I can add thet the php.ini are set for 2 M in the parameter \"upload_max_filesize\"
What am I doing wrong:-((
Leo