diff --git a/image.php b/image.php index c033ea8..331ef76 100644 --- a/image.php +++ b/image.php @@ -4,7 +4,7 @@ $loc = "US"; if( isset( $_GET['loc'] ) ) { - $loc = strtoupper($_GET["loc"]); + $loc = urlencode(strtoupper($_GET["loc"])); } //get the image url @@ -38,9 +38,9 @@ < Back to article -

Viewing image:

- +

Viewing image:

+

< Back to article - \ No newline at end of file + diff --git a/index.php b/index.php index c5aa35e..8686112 100644 --- a/index.php +++ b/index.php @@ -67,12 +67,12 @@ function clean_str($str) {
- FrogFind! Leap again: + FrogFind! Leap again:


-
Search Results for
+
Search Results for

@@ -94,4 +94,4 @@ function clean_str($str) { - \ No newline at end of file + diff --git a/read.php b/read.php index 922177c..91b3fad 100644 --- a/read.php +++ b/read.php @@ -7,7 +7,7 @@ $loc = "US"; if( isset( $_GET['loc'] ) ) { - $loc = strtoupper($_GET["loc"]); + $loc = urlencode(strtoupper($_GET["loc"])); } if( isset( $_GET['a'] ) ) { @@ -74,7 +74,7 @@ function clean_str($str) {

- Back to FrogFind! | Browsing URL: + Back to FrogFind! | Browsing URL:

@@ -97,4 +97,4 @@ function clean_str($str) { " . $error_text . "

"; } ?>

- \ No newline at end of file +