[PHP] Is there any "sleep" function?

2001-05-18 Thread BlackLord
Is there any sleep function in PHP like in Perl? For example, you will define the time in seconds and system will wait for that time to continue running the script? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: [PHP] Is there any "sleep" function?

2001-05-18 Thread BlackLord
Thanks. ""Boget, Chris"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Is there any sleep function in PHP like in Perl? > > For example, you will define the time in seconds and system > > will wait for that time to continue running the script? > > You read

[PHP] The performance of sleep() and usleep()

2001-05-19 Thread BlackLord
If i use these functions in my script, what will be the system resource usage? I know, thread will be open while the script is running but, i believe that they will not use extra system resource, won't they? For example, i want to send 10 emails every 30 seconds. Assume that there are 1,000,000 e

[PHP] Date subtraction

2001-03-22 Thread BlackLord
Hi! I want to subtract to date times from each other. Like : '2000 12 01 12:12:12' - '2000 11 10 11:39:59' Is there any function to do this subtraction or can i do it with MySQL's SELECT query ? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECT

Re: [PHP] Date subtraction

2001-03-23 Thread BlackLord
id=$id > > I'm not sure what > select date1-date2 as date_diff > returns? > > beware of the 2037 limitation using UNIX_TIMESTAMP() > > regards > Jeff > > > > -Original Message- > From: BlackLord [mailto:[EMAIL PROTECTED]] > Sent: Thursday, Ma

[PHP] attachments with mail() function

2001-03-24 Thread BlackLord
Is there anyway to include attachments in mail() function? If you give a small example, it will be great. Thanks -- 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,

Re: [PHP] attachments with mail() function

2001-03-25 Thread BlackLord
one of several mime_mail classes that are around. > I don't have one handy right now but you can find them by searching the > php archives > and/or the annotated php manual. I know the one by Schumann and > Ratschiller works OK. > > > Mick > > On Sun, 25 Mar 2001,

[PHP] how can i use postfix instead of sendmail???

2001-06-24 Thread BlackLord
Is postfix more efficient than sendmail? Can you give me the url which describes how to use it or write here ? Thanks -- 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 administrat

[PHP] About fasttemplate class and templates

2001-07-11 Thread BlackLord
Hi, I have a problem with fasttemplate class. I am doing a list page which contains dynamic block to list the rows from my db. Everything is ok until there are no records on my db. If there are no records on my db, fasttemplate class doesn't delete the dynamic block and it remains like this:

[PHP] Timeout features of PHP

2001-07-20 Thread BlackLord
Hi, instead of max_execution_time, what are the other features of PHP to time out running PHP script ? For example, does keep-alive feature related with running of PHP script? I want to disable all timeout features so that my script will run hours and hours... Thanks... -- PHP General Maili