How much bandwidth does this page use?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
NorthPilot06
Forum Newbie
Posts: 3
Joined: Sun Oct 02, 2005 4:20 pm

How much bandwidth does this page use?

Post 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!
User avatar
Nathaniel
Forum Contributor
Posts: 396
Joined: Wed Aug 31, 2005 5:58 pm
Location: Arkansas, USA

Post by Nathaniel »

d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

21.62 KB
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
Post Reply