|
Posted by jamen on 10/13/84 11:29
gautam.bipin@gmail.com wrote:
> $restrict_url = array('http://www.trusted_website1.com/news.rss',
> 'http://www.trusted_website2.com/news.rss',
> 'http://www.trusted_website3.com/news.rss');
>
>
> if (!strpos($src, $restrict_url)) {
> "$src" is where the input URL from "grab_news.php?src= " is stored....
try
if(!in_array($src, $restrict_url)){
}
Navigation:
[Reply to this message]
|