Re: [PHP] Re: How can I count the usage of mail function in scripts?
Greg Donald schrieb: > On 10/18/05, Oliver Grätz <[EMAIL PROTECTED]> wrote: > >>Usually customers pay a fix fee for >>some free traffic and then must pay for traffic exceeding those limits. >>What they do with that traffic is none of your business. > > > You've obviously never been a hosting provider. Did I say that? I was talking about being a customer. The type of content that might be forbidden in some countries is off topic. The question deals with restricting the amount of mails a customer may send in a certain amount of time. This is what I mean by "none of his business". I simply spoke of what the provider puts in the contract and on this point the provider guarantees it's customers something like 50GB free traffic with a fee of 49ct for each GB of traffic exceeding this limit. Nothing about any restrictions on the amount of data of a certain type. If the provider decides to limit the amount of mails per day to 100 the why not limiting the amount of web pages served to 500? Or "not more than 20 files per directory"? Or "may not serve GIF images"? Such restrictions are simply ridiculous. OLLi All Glory to the Hypno-Toad! [Futurama 307] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: How can I count the usage of mail function in scripts?
On 10/18/05, Oliver Grätz <[EMAIL PROTECTED]> wrote: > Usually customers pay a fix fee for > some free traffic and then must pay for traffic exceeding those limits. > What they do with that traffic is none of your business. You've obviously never been a hosting provider. -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/
[PHP] Re: How can I count the usage of mail function in scripts?
One more point: If I were your customer and you'd deploy such restrictions, I would leave you. Usually customers pay a fix fee for some free traffic and then must pay for traffic exceeding those limits. What they do with that traffic is none of your business. There are a lot of companies sending out newsletters in a mothly fashion to all of their 2 users who requested to get that newsletter... OLLi "Time continues to skip forward randomly. Details at eleven...This is the news at eleven. The mysterious and unexplained... Turning to Entertainment News. Teen Singer Wendy might just be the latest... won three Emmies last night...found dead in her bathtub." [Futurama 314] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: How can I count the usage of mail function in scripts?
Cristea Adrian schrieb: > Hello peoples! > > short question: How can I count the usage of mail function in scripts? > > long description :D > > I have a webserver, and I want to limit the usage of mail function for > each host I have there.. Notice that i have a couple of hundrest of > virtual hosts (domains and subdomains) there, and i want to limit > them, let`s say.. 100 mails per day.. there is any solution to do > that? (i know there is, i saw that in a nwebhosting company) .. can > you guide me find this solution? This is not a PHP problem. The mail() function just uses the mail server of the system it is running on. There are several solutions to the problem. For exmaple: If you could configure your server so that the user's PHP scripts run under their user ID (chroot/CGI), you can use the normal mail quota system. And: No, I can't help you any further on this. OLLi Mal: "You only gotta scare him." Jayna: "Pain is scary..." [firefly] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php