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
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
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
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
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
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
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
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
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);
>
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
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
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
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
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
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
15 matches
Mail list logo