X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=photo-tags.git;a=blobdiff_plain;f=index.php;h=34efdc480c66992d3f578ea421617b727b16f308;hp=822df79c0bc8333c3cb55183baf14b181477df92;hb=d8bcd598e8ebc02ee3c7e27cd4634bf5678e51f1;hpb=197867206e97f0b8d85cff0ef7f1bf88a33fd7aa diff --git a/index.php b/index.php index 822df79..34efdc4 100644 --- a/index.php +++ b/index.php @@ -15,11 +15,19 @@ else $page = 1; if(isset($_REQUEST["tag"])) - $tags = $_REQUEST["tag"]; + $tags = htmlentities($_REQUEST["tag"]); else $tags = ""; +if(isset($_REQUEST["pic"])) + $pic = intval(htmlentities($_REQUEST["pic"])); +else + $pic = -1; +/* end parse flags */ + +/* The basic layout */ ?> +