mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-14 12:08:01 +00:00
typo and conversion updates
This commit is contained in:
@@ -5,4 +5,7 @@ error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
|
|||||||
|
|
||||||
log_errors = On
|
log_errors = On
|
||||||
display_errors = Off
|
display_errors = Off
|
||||||
display_startup_errors = Off
|
display_startup_errors = Off
|
||||||
|
|
||||||
|
max_execution_time = 300 ; 5 minutes
|
||||||
|
max_input_time = 300 ; time to parse input data (e.g. POST)
|
||||||
@@ -91,7 +91,7 @@ if (file_exists(ROOT . DS . 'notice.txt'))
|
|||||||
<p>You can post a file using the POST variable <span class="badge text-bg-secondary">file</span></p>
|
<p>You can post a file using the POST variable <span class="badge text-bg-secondary">file</span></p>
|
||||||
|
|
||||||
CURL example
|
CURL example
|
||||||
<pre><code class="bash">curl -s -F "file=@myphoto.jpg" "<?= getURL() ?>upload"</code></pre>
|
<pre><code class="bash">curl -s -F "file=@myphoto.jpg" "<?= getURL() ?>api/upload"</code></pre>
|
||||||
|
|
||||||
Output
|
Output
|
||||||
<pre><code class="json">
|
<pre><code class="json">
|
||||||
|
|||||||
Reference in New Issue
Block a user