Skip to content
This repository was archived by the owner on Mar 28, 2019. It is now read-only.

Commit 9a6d786

Browse files
committed
Filename error message added.
Fixes #6
1 parent 1da29fd commit 9a6d786

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

solve.php

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
echo("<div class=\"alert alert-error\">\nCould not connect to the compiler server. Please contact the admin to solve the problem.\n</div>");
3939
else if(isset($_GET['derror']))
4040
echo("<div class=\"alert alert-error\">\nPlease enter all the details asked before you can continue!\n</div>");
41+
else if(isset($_GET['ferror']))
42+
echo("<div class=\"alert alert-error\">\nPlease enter a legal filename.\n</div>");
4143

4244
$query = "SELECT * FROM prefs";
4345
$result = mysql_query($query);

0 commit comments

Comments
 (0)