This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (!isset($_GET['user'])) { | |
if (!isset($_GET['hashtag'])) { | |
exit('Not a valid RSS feed. You didn\'nt provide an Instagram user or hashtag. Send one via a GET variable. Example .../instarss.php?user=snoopdogg'); | |
} | |
} | |
if (isset($_GET['user']) && isset($_GET['hashtag'])) { | |
exit('Don\'t request both user and hashtag. Request one or the other.'); |