HOME BLOG PORTFOLIO PHOTO CONTACT Admin Login
open any url in your website (get_file_contents)

Hi,Friends

My this php help you to open any url in your website.

save it abc.php<?php
//using this code you can open any website in your own localhost or inside your url
$homepage = file_get_contents(‘http://in.yahoo.com/?p=us’);
echo $homepage;
?>

for https related url follow above steps
ALLOW URL FOPEN =ON(checked) in wamp php setting
then
go to
php.ini and find below line
;extension=php_openssl.dll
and uncomment it

   Share on Facebook

Page views:772