[PHP] session garbage collection & save path
So, it says in the manual that gc doesn't occur if the save path depth is more than 2. This is true in the manual at php.net, but not zend.com. I have tested this, and seems like there is no gc occurring if I DID have the save path elsewhere (i.e. where the directory depth is > 2). Is there any way to change this (within a script, not php.ini - i have no rights to do that!) Thanks a bunch, Ken -- Kenneth Chau Web Developer http://www.gizzar.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: MySQL Query
Jason Whitaker wrote: > OK, I need to know is there a place where i can find out how to pull > information(TEXT) from a MySQL DB table and print where i place a variable > in a php page? I have NO idea what your question is... did you just want to echo something from your MySQL db table inside a PHP script? if so... you'd just connect with a mysql_pconnect to your server, do a query, then do a fetch of some sort... and the fetch probably will be read into an array. Then you just do an echo on that array. You can look at the mysql functions at php.net for more details I'm sure. Hope this helps - if not, please clarify your question! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: session garbage collection & save path
STOOPID me >.< !! I forgot to chmod the save path. That's why it didn't work! bah! Let this be a lesson for all - chmod everything correctly :) Best regards! -Ken Kenneth Chau wrote: > So, it says in the manual that gc doesn't occur if the save path depth is > more than 2. This is true in the manual at php.net, but not zend.com. I > have tested this, and seems like there is no gc occurring if I DID have > the save path elsewhere (i.e. where the directory depth is > 2). Is there > any way to change this (within a script, not php.ini - i have no rights to > do that!) > > Thanks a bunch, > Ken -- Kenneth Chau Web Developer http://www.gizzar.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php