javascript - Protect display contact number -


i have classified website , in product detail of page contact number show normal text. these numbers visible in search engine result. how protect or how show phone number image hide se?

you can similar this. print phone number image.

<?php $img = imagecreate(100, 20); //dimension of image  $bg = imagecolorallocate($img, 255, 255, 255); //give white background $textcolor = imagecolorallocate($img, 0, 0, 0); //gives black colour string. both follow format in format (image, red, green, blue) $phone = "1234567890"; imagestring($img, 6, 2, 2, $phone, $textcolor); // imagestring ( resource $image , int $font , int $x , int $y , string $string , int $color )  // output image header('content-type: image/png');  imagepng($img); //outputs png image imagedestroy($img); //frees memory associated image ?> 

Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -