mirror of
https://github.com/Rouji/single_php_filehost.git
synced 2025-04-05 00:49:33 +00:00
doubly duplicated negated negatives
This commit is contained in:
parent
add7171900
commit
92937e1d30
@ -7,14 +7,14 @@ On successful upload, it returns a link to the uploaded file. Serving the file t
|
|||||||
There's also a mechanism for removing files over a certain age, which can be invoked by calling the script with a commandline argument.
|
There's also a mechanism for removing files over a certain age, which can be invoked by calling the script with a commandline argument.
|
||||||
|
|
||||||
## Config
|
## Config
|
||||||
All configuration is done using the global variables at the top of index.php. Hopefully, they're explained well enough in the short comments besides them.
|
All configuration is done using the global variables at the top of **index.php**. Hopefully, they're explained well enough in the short comments besides them.
|
||||||
|
|
||||||
To accommodate for larger uploads, you'll also need to set the following values in your php.ini:
|
To accommodate for larger uploads, you'll also need to set the following values in your php.ini:
|
||||||
upload_max_filesize
|
upload_max_filesize
|
||||||
post_max_size
|
post_max_size
|
||||||
max_input_time
|
max_input_time
|
||||||
max_execution_time
|
max_execution_time
|
||||||
(The output of index.php will also warn you, if any of those are not set too small)
|
(The output of index.php will also warn you, if any of those are set too small)
|
||||||
|
|
||||||
The code responsible for the default info text can be found at the very bottom of index.php, in case you want to reword anything.
|
The code responsible for the default info text can be found at the very bottom of index.php, in case you want to reword anything.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user