|
|
 |
Re: FN-FORUM: PHP Problem - Driving Mad
date posted 22nd April 2008 20:06
[EMAIL REMOVED] wrote:
> Hey guys need some help, i have this php script that uploads small music
> files fine but when i try to upload a 3.4MB sound file it will complete
> then wont move it to the final directory i've tried looking on google but
> can't seem to find a solution any help would be appreciated thanks Chris
> :D
>
>
>
>
You're probably going past the file-size limit for the upload script.
Have a look in the script, there's sometimes a hidden input element
called max_upload or somesuch - changing that *might* do it.
However, it could also be set on the webserver itself. To find out,
create a .php file with the following in it...
That's all. Call it info.php , or whatever you want. Upload it to your
site, then go to the page on the site (i.e. www.site.com/info.php or
wherever you loaded it )
In there, you'll see again about max_upload_filesize, or somesuch. It
may be that you can change the setting (possibly using .htaccess for
setting a php ini value) but I don't know for sure.
Alex
http://www.ozbon.com
|
 |
|