jeudi 28 août 2014

Disable file_get_contents to protect html contents


Vote count:

0




I want to disable file_get_contents function to protect my html contents from my blog. (may be some people are stealing the contents in a automate way)



<?php
$homepage = file_get_contents('http://ift.tt/VRENdw');
echo $homepage;
?>


I already did the allow_url_fopen = Off and it is not working.


Can anyone help me please?



asked 22 secs ago

Bira

57






Disable file_get_contents to protect html contents

Aucun commentaire:

Enregistrer un commentaire