Hi guys, I have this code that is hidden from people but I think robots and some software can still read it on the page. Is there a way to make it hard to read for robots or unwanted software? <?php if(!$is_reported) { ?><b><?php echo $lang['REPORT_THIS_AD']; ?></b> <a href="javascript:confirmAbuseReport();"><?php echo $lang['REPORT_ABUSE_SPAM']; ?></a> PHP: Thanks!
PHP code itself is not accessible by anyone other than who has access to your web server - it is "local only," if that makes sense. PHP is parsed by the web server and then outputted as HTML, usually through the "echo" operator. You can also simply hide robots from any part of your website with a "robots.txt" file (Google it for more info).
I don't think I explained myself well. I think what needs to be encoded or enscripted is that javascript and the link ( $lang['REPORT_ABUSE_SPAM']). Are there standard ways of encoding something that the robots/bots/malicious software cannot read?