[PHP] Sessions and Frames...

2003-01-09 Thread Dale Schell
List,
I have a website that uses (too) many frames. At its most ugly, it will
load 8 frames at once. All of the pages in these frames activate the
session, and some of them modify session variables.
Can this cause the pages to load slowly? Can a page have the session
file write locked and make other pages wait?

Thanks for your help,
Dale
[EMAIL PROTECTED]



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




Re: [PHP] Sessions and Frames...

2003-01-10 Thread Dale Schell
Thanks, that helped out a lot. One of those RTFM times.

Dale

On 1/10/03 10:24, "Marek Kilimajer" <[EMAIL PROTECTED]> wrote:

> Dale Schell wrote:
> 
>> List,
>>I have a website that uses (too) many frames. At its most ugly, it will
>> load 8 frames at once. All of the pages in these frames activate the
>> session, and some of them modify session variables.
>>Can this cause the pages to load slowly? Can a page have the session
>> file write locked and make other pages wait?
>> 
> I don't know the php internals, but my guess is yes, each
> session_start() locks the session file and the lock is released when you
> session_write_close or your script ends, otherwise some session
> variables could be lost. Other scripts with session_start will wait. You
> should after calling session start do what is neccessery and call
> session_write_close()
> 
>> 
>> Thanks for your help,
>> Dale
>> [EMAIL PROTECTED]
>> 
>> 
>> 
>>  
>> 
> 



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




Re: [PHP] Problem with Date (2003-03-30)

2003-01-29 Thread Dale Schell
All parameters whould be integers. Unquote them and use intval to strip the
leading zeros.

On 1/29/03 11:51, "Gareth Mulholland" <[EMAIL PROTECTED]> wrote:

> I'm having problems with mktime and Midnight on 30th March 2003.
> 
> The code I'm using is:
> 
>   echo mktime(0,0,1,'03','29','2003');
>   echo mktime(0,0,1,'03','30','2003');
>   echo mktime(0,0,1,'03','31','2003');
> 
> but the result is:
> 
>   1048896001
>   -3661
>   1049065201
> 
> Therefore date is giving me 31 Dec 1969. Is this a problem with UNIX or PHP?
> 
> Thanks
> Gareth
> 
> 
> 
> 



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




Re: [PHP] 4.2.3 compile problem on OSX

2002-11-05 Thread Dale Schell
I had the same problems with 4.2.3. I was able to successfully compile
4.3.0-pre1 with little problems.

Dale

On 11/4/02 4:12 PM, "Kristopher Yates" <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I'm trying to compile PHP4.2.3 for Mac OSX 10.2 (Jaguar).  Has anyone
> else had this problem (see below)?
> 
> 
> ./configure --with-apxs=/usr/sbin/apxs
> make
> 
> ld: multiple definitions of symbol _virtual_stat
> TSRM/.libs/libtsrm.al(tsrm_virtual_cwd.lo) definition of _virtual_stat
> in sectio
> n (__TEXT,__text)
> TSRM/.libs/libtsrm.al(tsrm_virtual_cwd.lo) definition of _virtual_stat
> in sectio
> n (__TEXT,__text)
> ld: multiple definitions of symbol _virtual_unlink
> TSRM/.libs/libtsrm.al(tsrm_virtual_cwd.lo) definition of _virtual_unlink
> in sect
> ion (__TEXT,__text)
> TSRM/.libs/libtsrm.al(tsrm_virtual_cwd.lo) definition of _virtual_unlink
> in sect
> ion (__TEXT,__text)
> ld: multiple definitions of symbol _virtual_utime
> TSRM/.libs/libtsrm.al(tsrm_virtual_cwd.lo) definition of _virtual_utime
> in secti
> on (__TEXT,__text)
> TSRM/.libs/libtsrm.al(tsrm_virtual_cwd.lo) definition of _virtual_utime
> in secti
> on (__TEXT,__text)
> /usr/bin/libtool: internal link edit command failed
> make[1]: *** [libphp4.la] Error 1
> make: *** [all-recursive] Error 1
> 
> Forgive my ignorance but HUH?  WTF?
> 
> I have done this countless times on i386 boxes under RedHat and FreeBSD.
> Unfortunately, I have never encountered this problem before.
> 
> Just FYI, before attempting to compile/install PHP, I successfully
> compiled/installed Apache 1.3.27,
> which seems to work as expected.  I also upgraded to the latest Apple
> Developers Kit, and related update
> patches.
> 
> Any ideas?
> 
> Thanks,
> 
> Kris
> 



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