On Panther, save the PHP script into a text file somewhere with the extension .php. Then open terminal, and run this:Freg3000 said:Yes, please educate my feeble mind.
What do I do with that thing?
		Code:
	
	php <path to php file>So if it was on your desktop saved as ipod.php you'd enter:
		Code:
	
	php ~/Desktop/ipod.phpOr upload it to a website and run it from there, or redo it in Perl for fun!!!:
		Code:
	
	#!/usr/bin/perl
$number = 5456893; 
$checked = 0; 
for ($i = 0; $i < 1000; $i++) 
{ 
	$file = 'http://www.msnbc.msn.com/id/'.($number+$i).'/site/newsweek/';
	print $checked++;
	$html = `curl '$file'`;
	if ($html =~ m/'\/ipod\/i'/)
	{
		print "<br>" . $file . "<br>";
	}
} 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
	 
 
		