This question already has an answer here:
When you insert your website link, it will show you your site's robots.txt but will give error on top:
Deprecated: Function eregi() is deprecated in /home/hjlhvqyy/public_html/fastseoindia/klib/k_functions_http.php on line 101
Deprecated: Function eregi() is deprecated in /home/hjlhvqyy/public_html/fastseoindia/klib/k_functions_http.php on line 105
My code:
if ((eregi( "^http://",$url))) //line 101
{
$url = substr($url,7);
}
elseif((eregi( "^https://",$url))) //line 105
{
$url = substr($url,8);
}
How can I resolve this?
</div>