Hi,
I have successfully followed the php upload script and it works. The only thing that fails is that when I upload a file bigger than 800k. I've already optimized mysql when it starts. BTW, i'm running freebsd. I've seen a file php.ini-dist @ /usr/local/etc.
I copied it to php.ini and edited the upload_max_filesize and I set it to 10M.
I also edit my store.php page.
<form method="post" action="<?php echo $PHP_SELF; ?>" enctype="multipart/for
m-data">
File Description:<br>
<input type="text" name="form_description" size="40">
<INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="10000000">
<br>File to upload/store in database:<br>
<input type="file" name="form_data" size="40">
<p><input type="submit" name="submit" value="submit">
</form>
I got a hunch also that php.ini is not being read. Is it because, in freebsd, it uses mod_php? Yeah, I compiled mod_php. So how should i fix this annoying error so that I will be able to upload a file about at least 3mb in file size.
Thank you very much.
Ronneil