Page 1 of 1

How much bandwidth does this page use?

Posted: Sun Oct 02, 2005 10:04 pm
by NorthPilot06
Hey guys,

To start off....sorry if this isn't really in the right place, I didn't know where to put it. Anyways, I have a simple page that pulls the info off another website:

Code: Select all

<?php
	$lines = implode("", file("http://www.snowshoemtn.com"));
	echo $lines;
?>
Just a simple observation is that the page takes about 2 seconds to load (http://www.ski-us.com/test.php) - Can I get a rough estimate of how much bandwidth that page would use every time it was loaded? Thanks!

Posted: Sun Oct 02, 2005 10:14 pm
by Nathaniel

Posted: Sun Oct 02, 2005 10:31 pm
by d3ad1ysp0rk
21.62 KB

Posted: Sun Oct 02, 2005 11:20 pm
by feyd
fyi

Code: Select all

$lines = implode("", file("http://www.snowshoemtn.com"));
is better written

Code: Select all

$lines = file_get_contents("http://www.snowshoemtn.com");
and please post coding questions in the more appropriate programming boards.