Jump to content

PHP Upload Script


Janus13

Recommended Posts

Also, if you are going to upload large files, you will also want to change the timeout settings. I suggestion that you use the php function [url=http://us2.php.net/manual/en/function.ini-set.php]ini_set[/url]. You can also use [url=http://us2.php.net/manual/en/function.ini-get.php]ini_get[/url] to retrieve the value for a specific setting in the ini.

For instance, to see what your upload max is.. You can do something like this.

[code=php:0]
echo 'The upload_max_filesize is <b>' . ini_get('upload_max_filesize') . '</b><br />';
[/code]

Link to comment
https://forums.phpfreaks.com/topic/21795-php-upload-script/#findComment-97368
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.