[PHP] Session Expiration?

2003-01-09 Thread Matias Silva
I have gone through the past posts and can't find an answer to my problem I'm using a URL based session management schema, and I was wondering how to set the session duration time. I know there is the session.gc_probability and session.gc_maxlifetime but that's only for garbage collection. Just

[PHP] Re: mkdir and directory permissions

2002-10-25 Thread Matias Silva
Cool! the umask() is what I have to set prior to mkdir() for this to work. Thanks Jason & Marek -Matias "Matias Silva" <[EMAIL PROTECTED]> wrote in message news:20021024225108.24906.qmail@;pb1.pair.com... > Hi-ya all, here's a quickie... > >

[PHP] Re: Session Trouble

2002-10-24 Thread Matias Silva
why don't you use the session_register("voted") function. Then if you want to check it you can use the session_is_registered("voted) . -Matias "Stephen" <[EMAIL PROTECTED]> wrote in message news:000a01c27ba1$d8871e00$0200a8c0@;melchior... I'm trying to register a session for a poll by first open

[PHP] Re: processing form checkboxes

2002-10-24 Thread Matias Silva
you need brackets, so when php initializes the variables, it knows to make the variable state an array. name=state[] -Matias "James Taylor" <[EMAIL PROTECTED]> wrote in message news:DOEJIAGJHJHPBFMLOGOFKEJNCDAA.jtx@;hatesville.com... > Heya folks, not sure if this is more of a php question or

[PHP] mkdir and directory permissions

2002-10-24 Thread Matias Silva
Hi-ya all, here's a quickie... In my script I create a directory (mysql.backup.timestamp/) within a directory called backup/. I use the function mkdir("mysql.backup.timestamp", "0777"); and it shows the permissions as after the function executes: drx--t 2 nobodydaemon1024

[PHP] Include

2002-10-03 Thread Matias Silva
This might sound like a dumb question but I just need verification so that I can convince myself that I'm going insane! I have this error in which I include 3 files (common_html.inc, common_db.inc, common_functions.inc) well I have a clean() function in the common_functions.inc file. But it seems