I have a script that I've been trying to use to get links from a certain page. This is it.
<?php
ini_set('allow_url_fopen', 'On');
$file = fopen($url, 'r');
while(!feof($file))
{
$test = fgets($file);
}
?>
Ok, that's the part that gets me the page. My problem is that in order to get the links on the page I have to be logged in and I can't do that from the script. To be logged in I have to actually be at the page. Or I could use frames. The problem with using frames is that I can't grab the URL's from the source that I know of. Does anyone know a way that I can either get the source from the page in the frame or get this script to work as if I'm logged in?