Added getphotos.php and getsearch.php