Move curl outside of if statement
This commit is contained in:
parent
2c2ac8ffed
commit
8f750c932c
|
@ -27,9 +27,10 @@ if (isset($_COOKIE[$cookieTypeName]) || ($publicUploading || $publicUploading ==
|
||||||
$html .= printFileUploadForm($html, $Error);
|
$html .= printFileUploadForm($html, $Error);
|
||||||
} else {
|
} else {
|
||||||
$html .= "\t\t\t\t<p>To upload a file, <a href=\"login.php\">log in using your key</a> and select a file to upload. After uploading, you will receive a link to the file stored on the servers.</p>\n";
|
$html .= "\t\t\t\t<p>To upload a file, <a href=\"login.php\">log in using your key</a> and select a file to upload. After uploading, you will receive a link to the file stored on the servers.</p>\n";
|
||||||
$html .= "\t\t\t\t<p>You can also upload a file using <code>curl</code> (or any POST request):<br><br><code>curl -F \"file=@myfile\" -F \"key=mykey\" \"https://dl.speedie.site/upload.php\"</code>.</p>\n";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$html .= "\t\t\t\t<p>You can also upload a file using <code>curl</code> (or any POST request):<br><br><code>curl -F \"file=@myfile\" -F \"key=mykey\" \"https://dl.speedie.site/upload.php\"</code>.</p>\n";
|
||||||
|
|
||||||
// End the content div and print footer
|
// End the content div and print footer
|
||||||
$html = printFooter($html);
|
$html = printFooter($html);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue