So, I\'m working on a PHP script, and part of it needs to be able to query a website, then get text from it.
First off, I need to be able to query a certain website
If you want more control, use cURL. Otherwise: file_get_contents..
$url = "http://www.example.com/test.php"; // Site URL. $site = file_get_contents($url); // Gets site response.