Add files via upload
This commit is contained in:
parent
0948793bdd
commit
7132b78930
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue