Re: [PHP] Am I right or wrong?
On Tue, 4 Sep 2001 10:50, Dave Freeman wrote: > to change their policy or vote with your feed and move elsewhere. Somehow I think they'd be less than pleased if he were to tip his feed all over their server :-) -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA "The PH is too low," Tom said acidly. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Am I right or wrong?
On 4 Sep 01, at 1:14, Seb Frost wrote: > My ISP has a limit on my site of 10,000MB of data transfer per month. > > 4 days into september and I'm already at 2,500MB. It would seem they're > including requests by their own PHP server. > > I have a folder of ~80kb images that are dynamically resized using PHP into > ~1.4kb thumbnails. Now for each one the PHP server sends an HTTP request for > the 80kb image, and this is being counted against my 10,000MB. > > Should it? Am I in the right in thinking that it shouldn't? I would think that, basically, it's their server and they can do pretty much whatever they like with it. If you don't like it you can attempt to change their policy or vote with your feed and move elsewhere. Just my opinion though. CYA, Dave --- Outback Queensland Internet - Longreach, Outback Queensland - Australia http://www.outbackqld.net.au mailto:[EMAIL PROTECTED] --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Am I right or wrong?
Hmmm, I suppose the files and the php server may be on different machines - hadn't thought of that :-) I guess I need to make a compromise on my script then. - seb -Original Message- From: Chris Wesley [mailto:[EMAIL PROTECTED]]On Behalf Of Christopher William Wesley Sent: 04 September 2001 01:59 To: Seb Frost Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Am I right or wrong? On Tue, 4 Sep 2001, Seb Frost wrote: > I have a folder of ~80kb images that are dynamically resized using PHP into > ~1.4kb thumbnails. Now for each one the PHP server sends an HTTP request > for the 80kb image, and this is being counted against my 10,000MB. > > Should it? Am I in the right in thinking that it shouldn't? So, your PHP scripts are on one server, and your big images are on a separate server? If so, you are generating traffic between the two servers ... at which point you need to consult your service contract. Your contract should tell you for what traffic (including between which servers, across which networks) you will be billed. It's kind of strict to charge for traffic across a local network ... I wish you luck fighting your ISP if the contract doesn't define for which traffic you'll be billed. Aside from the ISP issue ... dynamically resizing 80K images on the fly is frightful thing. Creating thumbnails [once/at regular intervals] would be a wise step to take. It takes the load off the web server and will cut your network traffic. The tradeoff is disk space usage ... but you can store 57 1.4KB thumbnails in the same space as one 80KB image :) Good trade! ~Chris /"\ \ / Pine Ribbon Campaign Microsoft Security Specialist X Against Outlook The moron in Oxymoron. / \ http://www.thebackrow.net --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.274 / Virus Database: 144 - Release Date: 23/08/2001 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.274 / Virus Database: 144 - Release Date: 23/08/2001 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Am I right or wrong?
On Tue, 4 Sep 2001, Seb Frost wrote: > I have a folder of ~80kb images that are dynamically resized using PHP into > ~1.4kb thumbnails. Now for each one the PHP server sends an HTTP request > for the 80kb image, and this is being counted against my 10,000MB. > > Should it? Am I in the right in thinking that it shouldn't? So, your PHP scripts are on one server, and your big images are on a separate server? If so, you are generating traffic between the two servers ... at which point you need to consult your service contract. Your contract should tell you for what traffic (including between which servers, across which networks) you will be billed. It's kind of strict to charge for traffic across a local network ... I wish you luck fighting your ISP if the contract doesn't define for which traffic you'll be billed. Aside from the ISP issue ... dynamically resizing 80K images on the fly is frightful thing. Creating thumbnails [once/at regular intervals] would be a wise step to take. It takes the load off the web server and will cut your network traffic. The tradeoff is disk space usage ... but you can store 57 1.4KB thumbnails in the same space as one 80KB image :) Good trade! ~Chris /"\ \ / Pine Ribbon Campaign Microsoft Security Specialist X Against Outlook The moron in Oxymoron. / \ http://www.thebackrow.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Am I right or wrong?
It's wrong of them?!?! Not to sound irrational here, but you're DOWNLOADING the file every time, even if you are downloading it every time. Why are you opening it through HTTP? Why not directly via the FS? If you're local to the machine, that seems more intelligent. If you're not local to the machine then you're using not only CPU resource, but network resource, and even more so should be responsible. It is very difficult for an ISP to differentiate between what was an external request and what was you requesting something from yourself. Even if it was simple, I'm not sure they have any obligation or responsibility to do it. Regards, Cristopher Daniluk President & CEO email: [EMAIL PROTECTED] direct: 330/530-2373 Digital Services Network, Inc Unleashing Your Potential voice: 800/845-4822 web: http://www.dsnet.net/ -Original Message- From: Stig-Ørjan Smelror [mailto:[EMAIL PROTECTED]] Sent: Monday, September 03, 2001 8:33 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Am I right or wrong? > My ISP has a limit on my site of 10,000MB of data transfer per month. > > 4 days into september and I'm already at 2,500MB. It would seem > they're including requests by their own PHP server. > > I have a folder of ~80kb images that are dynamically resized using PHP > into ~1.4kb thumbnails. Now for each one the PHP server sends an HTTP > request for the 80kb image, and this is being counted against my > 10,000MB. > > Should it? Am I in the right in thinking that it shouldn't? > > regards, > Everybody will always try to screw you some way or another... Always look at the small print ;) And you're right... it's wrong of them... imho. -- Stig-Ørjan Smelror Systemutvikler Linux Communications AS Sandakerveien 48b Box 1801 - Vika N-0123 Oslo, Norway tel. +47 22 09 28 80 fax. +47 22 09 28 81 http://www.lincom.no/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Am I right or wrong?
> My ISP has a limit on my site of 10,000MB of data transfer per month. > > 4 days into september and I'm already at 2,500MB. It would seem > they're including requests by their own PHP server. > > I have a folder of ~80kb images that are dynamically resized using PHP > into ~1.4kb thumbnails. Now for each one the PHP server sends an HTTP > request for the 80kb image, and this is being counted against my > 10,000MB. > > Should it? Am I in the right in thinking that it shouldn't? > > regards, > Everybody will always try to screw you some way or another... Always look at the small print ;) And you're right... it's wrong of them... imho. -- Stig-Ørjan Smelror Systemutvikler Linux Communications AS Sandakerveien 48b Box 1801 - Vika N-0123 Oslo, Norway tel. +47 22 09 28 80 fax. +47 22 09 28 81 http://www.lincom.no/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Am I right or wrong?
My ISP has a limit on my site of 10,000MB of data transfer per month. 4 days into september and I'm already at 2,500MB. It would seem they're including requests by their own PHP server. I have a folder of ~80kb images that are dynamically resized using PHP into ~1.4kb thumbnails. Now for each one the PHP server sends an HTTP request for the 80kb image, and this is being counted against my 10,000MB. Should it? Am I in the right in thinking that it shouldn't? regards, - seb frost --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.274 / Virus Database: 144 - Release Date: 23/08/2001 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]