Add files via upload

This commit is contained in:
wibyweb 2024-02-14 00:37:01 -05:00 committed by GitHub
parent 0948793bdd
commit 7132b78930
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -62,7 +62,7 @@
}else if($url != ''){
$url = substr($url,0,400); //don't allow user to post a longer url than 400b
if(strpos($url,'.') == false || strpos($url,' ') == true){
if(strpos($url,' ') == true){
echo "It doesn't look like you submitted a valid URL: '". $url ."'";
include 'form.html.php';
exit();