[PHP] I'm not username, log me out....

2001-10-27 Thread Andy Lewis
Hello All, I'm trying to use php sessions to logout a user that may be sharing a computer with another user. In other words. I don't want user1 to access my site and then user2 be able to access user1's account with an auto login because the session was saved. I've seen a few sites that have

[PHP] multipart/form-data and Array POST

2004-03-13 Thread Andy Lewis
Hello All, I'm having a problem including an array in a hidden field for file upload. My first question is, can this be done? Can I actually include an array in a hidden field on a POSTed PHP upload field? If so do I have to encode the array. I use array's on my site and am aware that I have

RE: [PHP] multipart/form-data and Array POST

2004-03-13 Thread Andy Lewis
I'm trying to pass an array of values. Then retrieve it on the next page. -Original Message- From: Brian V Bonini [mailto:[EMAIL PROTECTED] Sent: Saturday, March 13, 2004 9:58 AM To: Andy Lewis Cc: PHP Lists Subject: Re: [PHP] multipart/form-data and Array POST On Sat, 2004-03-13 at 10

RE: [PHP] multipart/form-data and Array POST

2004-03-13 Thread Andy Lewis
I am running: $my_array = unserialize(base64_decode($my_array)); on the array once it's POSTed. -Original Message- From: Raditha Dissanayake [mailto:[EMAIL PROTECTED] Sent: Saturday, March 13, 2004 10:18 AM To: Andy Lewis Cc: [EMAIL PROTECTED] Subject: Re: [PHP] multipart/form-data

RE: [PHP] multipart/form-data and Array POST

2004-03-13 Thread Andy Lewis
register_globals = On -Original Message- From: Raditha Dissanayake [mailto:[EMAIL PROTECTED] Sent: Saturday, March 13, 2004 10:18 AM To: Andy Lewis Cc: [EMAIL PROTECTED] Subject: Re: [PHP] multipart/form-data and Array POST Andy Lewis wrote: Hello All, I'm having a problem