Re: [PHP-WIN] Time out and re login

2007-11-12 Thread vikas batra
This problem is seems to be due to session expiry. session is getting expired after some time, increase session expire time in your .htaccess file. use this session.cache_expire = 180// in seconds or session.gc_maxlifetime = 1440 or session.cookie_lifetime = 0 try to use this, i think ur

RE: [PHP-WIN] time function

2007-10-19 Thread Warren Vail
Since PHP only runs on the server it only has direct access to the server time. The big integer number that you retrieve with the time function is the number of seconds since unix epoche http://www.php.net/manual/en/function.time.php which was Jan 1 1970 00:00:00 GMT. Use the date function to conv

Re: [PHP-WIN] Time Zones for windows

2004-11-08 Thread Kim
imagine, was hoping to avoid at all costs. Hopefully this sorts it. Thanks again Kim - Original Message - From: "Gryffyn, Trevor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Kim" <[EMAIL PROTECTED]> Sent: Monday, November 08, 2004 8:39 PM Subject

RE: [PHP-WIN] Time Zones for windows

2004-11-08 Thread Gryffyn, Trevor
I did a real quick search and didn't find the answer quickly. If you have some free time and don't mind doing things the "hard way", you could try reading the $_ENV["TZ"] variable, recording it's value, changing the setting, lather, rinse, repeat. I'm sure there's a list somewhere though. It m

RE: [PHP-WIN] Time out a session

2003-11-26 Thread Derrick Hermanson
This is how we do it in some of our online programs. setcookie('LOGIN',$LOGIN,(time()+32400),'/','',0); Derrick Hermanson Programmer Analyst I [EMAIL PROTECTED] -Original Message- From: PETCOL [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 6:23 AM To: [EMAIL PROTECTED] Subj

Re: [PHP-WIN] time limit

2001-09-23 Thread Alain Samoun
int file_exists(string filename); Alain On Sun, Sep 23, 2001 at 06:09:50PM +0200, roel wrote: > Hi, > > I'm not working in safe mode ! > The script won't time out if $url contains a bad url. > > Any suggestion? > > Thanks > > "Alain Samoun" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROT

Re: [PHP-WIN] time limit

2001-09-23 Thread roel
Hi, I'm not working in safe mode ! The script won't time out if $url contains a bad url. Any suggestion? Thanks "Alain Samoun" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You should put your url address between quotes. set_time_limit works for me > (PHP

Re: [PHP-WIN] time limit

2001-09-23 Thread roel
If I put this between quotes the script won't time out if a bad url is given ! Any suggestion? Thanks "Alain Samoun" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You should put your url address between quotes. set_time_limit works for me > (PHP4.06) > Alain

Re: [PHP-WIN] time limit

2001-09-22 Thread Alain Samoun
You should put your url address between quotes. set_time_limit works for me (PHP4.06) Alain On Sun, Sep 23, 2001 at 01:52:02AM +0200, dries wrote: > Why does the time limit doesn't work ? > Any suggestions how to fix this? > > Thanks! > > > function connect1() > { > set_time_limit(2); >

RE: [PHP-WIN] Time

2001-04-01 Thread Svensson, B.A.T.
If you are running NT, then use 'at'. It works in a similar way as cron. >-Original Message- >From: Josh Seward [mailto:[EMAIL PROTECTED]] >Sent: Saturday, March 31, 2001 5:22 AM >To: [EMAIL PROTECTED]; php-gtk >Subject: [PHP-WIN] Time > > >Hello, > >Is there a way to have php run a scr

[PHP-WIN] Re: [PHP-GTK] RE: [PHP-WIN] Time

2001-04-01 Thread Joe Stump
0 * * * * php -q /path/to/file.php Oh shit - damn windows for not being POSIX! --Joe On Sun, Apr 01, 2001 at 01:27:35PM -0400, Asendorf, John wrote: > I know this sounds silly, but you could use Windows Scheduler and set 24 > instances, one for each hour, set for every day. May sound like a d

RE: [PHP-WIN] Time

2001-04-01 Thread Asendorf, John
I know this sounds silly, but you could use Windows Scheduler and set 24 instances, one for each hour, set for every day. May sound like a drag, but it would work. - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY

[PHP-WIN] Re: [PHP-GTK] Re: [PHP-WIN] Time - WINCRON is for windows

2001-03-31 Thread Joe Stump
You might want to look at cygwin - it might come with regular crond. --Joe On Sat, Mar 31, 2001 at 10:12:41AM +0200, Delbono wrote: > > WinCron is what you are looking for. > > http://www.erols.com/graysteel/wincron.html > > > I'm using it and it works correctly. > > > > > > > - Or

Re: [PHP-WIN] Time - WINCRON is for windows

2001-03-30 Thread Delbono
WinCron is what you are looking for. http://www.erols.com/graysteel/wincron.html I'm using it and it works correctly. - Original Message - From: "Josh Seward" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "php-gtk" <[EMAIL PROTECTED]> Sent: Saturday, March 31, 2001 5:21 AM Subject

Re: [PHP-WIN] Time zones table

2001-03-24 Thread Zane Appel
If only it were that easy. Due to local preferences some TZs do not observe Daylight Savings time so the "Time difference" depends a lot on what the date is and what rules that TZ uses to calculate the offset. I am in the process of writing an application (not in PHP) that will give the correct o