RE: [PHP] SESSION VARIABLES ACROSS DIFFERENT WINDOWS/TABS

2009-08-21 Thread Leon du Plessis
Hi Jamie. Thanks. Good info. I knew something changed somewhere. This works like a charm in IE8..never saw the New Session option under file...me bad !! Greetings. -Original Message- From: Jaime Bozza [mailto:jbo...@mindsites.com] Sent: 20 August 2009 09:49 PM To: Leon du Plessis

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
Since we are on the subject: I have the following similar problem: When testing page on internet explorer, I find that one tab's variables can affect another tab's variables. Thus when having the same web-site open and using SESSION variables but for different users, Internet explorer can become

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
variables from other sessions. -Original Message- From: Arno Kuhl [mailto:ak...@telkomsa.net] Sent: 20 August 2009 10:03 AM To: 'Leon du Plessis'; php-general@lists.php.net Subject: RE: [PHP] SESSIONS lost sometimes -Original Message- From: Leon du Plessis [mailto:l

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
[mailto:nitebi...@sacredchaos.com] Sent: 20 August 2009 10:40 AM To: php-general@lists.php.net Subject: Re: [PHP] SESSIONS lost sometimes On Thu, Aug 20, 2009 at 09:44:02AM +0200, Leon du Plessis wrote: Since we are on the subject: I have the following similar problem: When testing page

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
. -Original Message- From: Peter Ford [mailto:p...@justcroft.com] Sent: 20 August 2009 10:47 AM To: php-general@lists.php.net Subject: Re: [PHP] SESSIONS lost sometimes Leon du Plessis wrote: It's not an issue, it's a feature. Thanks Arno...but it is a pain also. If I work with user

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
was just wondering if someone else had the same annoying condition. I am happy with the responses and the functionality somewhere on a wish-list. Now Back to Angelo's SESSION problem which sounded like it could be related. Greetings! Leon -Original Message- From: Leon du Plessis [mailto:l

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
[mailto:a...@ashleysheridan.co.uk] Sent: 20 August 2009 11:39 AM To: Leon du Plessis Cc: 'Nitebirdz'; php-general@lists.php.net Subject: RE: [PHP] SESSIONS lost sometimes On Thu, 2009-08-20 at 10:50 +0200, Leon du Plessis wrote: It'd make sense for things to run this way, I think. After all, I'd

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
...@ashleysheridan.co.uk] Sent: 20 August 2009 12:05 PM To: Leon du Plessis Cc: 'Nitebirdz'; php-general@lists.php.net Subject: RE: [PHP] SESSIONS lost sometimes On Thu, 2009-08-20 at 12:04 +0200, Leon du Plessis wrote: Thanks Ashley, I just want to iterate again that when a new page is opened by another

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
- From: Leon du Plessis [mailto:l...@dsgnit.com] Sent: 20 August 2009 12:04 PM To: a...@ashleysheridan.co.uk Cc: 'Nitebirdz'; php-general@lists.php.net Subject: RE: [PHP] SESSIONS lost sometimes Thanks Ashley, I just want to iterate again that when a new page is opened by another existing

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
No problem! Thx -Original Message- From: Angelo Zanetti [mailto:ang...@zlogic.co.za] Sent: 20 August 2009 02:35 PM To: 'Leon du Plessis'; php-general@lists.php.net Subject: RE: [PHP] SESSIONS lost sometimes Hi Leon, No harm intended :) Just thought that people were missing my post now

[PHP] SESSION VARIABLES ACROSS DIFFERENT WINDOWS/TABS

2009-08-20 Thread Leon du Plessis
they are. We can put this thing to rest. -Original Message- From: Floyd Resler [mailto:fres...@adex-intl.com] Sent: 20 August 2009 02:25 PM To: Leon du Plessis Cc: a...@dotcontent.net; php-general@lists.php.net Subject: Re: [PHP] SESSIONS lost sometimes Leon, Sessions are used on a per

RE: [PHP] what to use instead of foreach

2009-04-14 Thread Leon du Plessis
. Best wishes Leon -Original Message- From: Jan G.B. [mailto:ro0ot.w...@googlemail.com] Sent: 14 April 2009 05:45 PM To: PJ Cc: Leon du Plessis; php-general@lists.php.net Subject: Re: [PHP] what to use instead of foreach 2009/4/13 PJ af.gour...@videotron.ca: I have already tried

RE: [PHP] what to use instead of foreach

2009-04-13 Thread Leon du Plessis
the array value: echo $my_authors[title1] . br; Hope it is enough info for to work on for now!! Have fun! Leon -Original Message- From: PJ [mailto:af.gour...@videotron.ca] Sent: 13 April 2009 04:33 PM To: Leon du Plessis Cc: php-general@lists.php.net Subject: Re: [PHP] what to use instead

RE: [PHP] what to use instead of foreach

2009-04-13 Thread Leon du Plessis
Hi PJ, You may want to remove the , before the br...That was a slight oversight on my partsorry.'bout that...I will leave you to do the fixing, but I am sure you get the general idea. Best wishes..Leon -Original Message- From: Leon du Plessis [mailto:l...@dsgnit.com] Sent: 13

RE: [PHP] what to use instead of foreach

2009-04-12 Thread Leon du Plessis
You may try something basic like: $b = 1; foreach ($my_array as $a) { echo $a ; //Send new line to browser if ($b++ == 3) { echo br; $b = 1; } } Or there are some different ways to approach this also like: for ($a = current($my_array); $a; $a = next($my_array)) { //Format 1

RE: [PHP] Button id's - firefox and IE different ?

2009-04-02 Thread Leon du Plessis
Another suggestion would be to use the Input tag as suggested by Richard, but rename the name value ie: input type=submit name=btid1 value=Delete / input type=submit name=btid2 value=Delete / input type=submit name=btid3 value=Delete / You can then use your PHP variable $_POST[btid1],

RE: [PHP] print a to z

2009-01-15 Thread Leon du Plessis
I used that notation before, and it did not work 100%. Adapt as follows: for ($i = 'a'; $i = 'z'; $i++) if ($i == aa) break; else echo $i; -Original Message- From: Paul M Foster [mailto:pa...@quillandmouse.com] Sent: 16 January 2009 07:55 AM To: php-general@lists.php.net Subject:

RE: [PHP] Little regex help please...

2008-10-13 Thread Leon du Plessis
-Original Message- From: Ryan S [mailto:[EMAIL PROTECTED] Sent: 13 October 2008 07:09 PM To: Eric Butera; Boyd, Todd M. Cc: php php Subject: Re: [PHP] Little regex help please... Hey Todd, Eric, Thanks for replying. I don't believe you need both the / and the # for delimiters in your

RE: [PHP] Adding encryption to passwords

2008-09-19 Thread Leon du Plessis
You can try the MySQL built in functions. Ie encode(str, key) insert into test (password) values (encode(mypass,some key)); You can then use the decode() functions in your matching queries. You also need to consider security of your php code, as the key to decode will be in the query strings.

[PHP] hash_hmac: Encoding with two different results problem

2008-07-24 Thread Leon du Plessis
hi, I hope this is the right group for this type of problem: I am using hash_hmac to provide me with a sha1 encoded hash string. The problem is as follows: $hash = hash_hmac('sha1',