[Solved] How to get html code from url using method get? [closed]


can you be more specific or post your code?

i tried something like this and it works:

<?php
$html=file_get_contents("http://www.google.com");
echo $html;
?>

to use get method you can add your get params to the url you ar calling like this:

<?php
$html=file_get_contents("http://yoururl.com?param1=value&param2=value");
echo $html;
?>

2

solved How to get html code from url using method get? [closed]