How To Hide Report Deadlink from Bots? Programming Web Development by Blitz-labs.com …me. Any help is much appreciated Thanks. [CODE] $x=$_GET['Deadlink']; $agent=$_GET['agent']; $bots = array( 'bing' => …quot;; echo "Thank you for Reporting the Deadlink! We will rewview the link and repklace it if… "; echo"<a href='?Deadlink=1&agent=false>Report Deadlink?</a>"; } [/CODE… Extract links from a webpage Programming Web Development by jyotiu …="float: right;"><a href="javascript:DeadLink('http://www.movies-on-demand.tv/report.php?id=2345…="float: right;"><a href="javascript:DeadLink('http://www.movies-on-demand.tv/report.php?id=2345…quot;float: right;"><a href="javascript:DeadLink('http://www.movies-on-demand.tv/report.php?id=2345… Extract video names and links along with ther part no. from a given string Programming Web Development by jyotiu …="float: right;"><a href="javascript:DeadLink('http://www.movies-on-demand.tv/report.php?id=2845…="float: right;"><a href="javascript:DeadLink('http://www.movies-on-demand.tv/report.php?id=2845…quot;float: right;"><a href="javascript:DeadLink('http://www.movies-on-demand.tv/report.php?id=2845… Re: Softwares worth downloading Hardware and Software Microsoft Windows by rwsmithem …]http://www.papercut.biz/products/free_software/[/url] 2. AM-DeadLink - Freeware AM-DeadLink detects dead links and duplicates in browser bookmarks and… Re: How To Hide Report Deadlink from Bots? Programming Web Development by Blitz-labs.com sorry this doesnt exist in the scirpt sorry [CODE]/////NOT SURE HOW TO MAKE THIS WORK /////$agent = strtolower($_SERVER['HTTP_USER_AGENT']);foreach( $bots as $name => $bot){ if(stripos($agent,$bot)!==false) { echo $name; echo"Sorry, No Link or Data"; } /////////////////////////////////////////////[/CODE] Re: How To Hide Report Deadlink from Bots? Programming Web Development by blocblue If you amended your notification links to have their own subdirectory, to something like: [CODE=html] <a href="/report/dead?id=123" title="Report dead link">Report dead link</a> [/CODE] Then you could use a robots.txt file to exclude the /report directory. This should stop robots from indexing any page in that … Re: How To Hide Report Deadlink from Bots? Programming Web Development by Blitz-labs.com thanks for the reply sorry I took so long to reply. Re: Extract links from a webpage Programming Web Development by martin5211 Hi, I'm returning to this forum from long time ago... Looking at this issue it isn't difficult at all... just dealing a bit with regular expressions, preg_match_all() should be the function that is worth to use e.g. to store all links into an array: [code=php] $pattern = "/href=\x22([^\x22]*)\x22/"; preg_match_all($pattern, $string, $… Re: Extract video names and links along with ther part no. from a given string Programming Web Development by martin5211 I wrote a solution on your previous thread ([URL="http://www.daniweb.com/forums/thread186448.html"]http://www.daniweb.com/forums/thread186448.html[/URL])... this is almost a duplicated one. Why not to continue to develop your issue into your previous thread ? Re: Extract video names and links along with ther part no. from a given string Programming Web Development by chinmayu Hi martin5211 thanks for your replies... i don't know i was very desperate for solution anyways i have done it myself :) thanks for the reply Re: Extract video names and links along with ther part no. from a given string Programming Web Development by martin5211 No problem, I could have continued the development anyway... regex for scrapping data and manipulating arrays can be a pain sometimes...