[PHP] How can I count the usage of mail function in scripts?

2005-10-18 Thread Cristea Adrian
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?

thanks in advance!

cheers, cajbecu

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] mysql_connect() error

2005-09-03 Thread Cristea Adrian
Are you sure that is the 5-th line of your script? please give us
first 1-10 lines (remove confidential data) for debuging...

On 9/3/05, php general help php-general@lists.php.net wrote:
 Hi
 
 guys hope you can all help me here. im in the middle of making a script ( im
 still quite new), anyway im getting this error Parse error: syntax error,
 unexpected T_STRING in c:\wamp\www\cms\header.inc on line 5 and on line 5 is
 mysql_connect($dbhost, $dbusername, $dbpassword) , i know its the
 mysql_connect() function thats giving me the error though cant seem to get
 it sorted. below is the versions im using
 
 Apache version : Apache/1.3.33 (Win32)
 PHP version : 5.0.4
 MySQL version : 4.1.10a-nt - extension : mysqli
 all the above come in a bundle package called ( wampserver )
 have also posted on wampservers forums for help
 im using windows xp home.
 
 Hope you guys can help me.
 
 Thanks
 Steve
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php