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

[PHP] SESSION VARIABLES ACROSS DIFFERENT WINDOWS/TABS

2009-08-20 Thread Leon du Plessis
e many others, want to start a war. I am ok with things how 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: [P

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 m

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
.co.za -----Original Message- 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

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
y Sheridan [mailto:a...@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

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

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
tab. It is not a huge issue, I 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 Mess

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
wondering. -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..

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
al Message- From: Nitebirdz [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 si

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
think PHP should allow clearing SESSION 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 Mes

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] 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 : > I have already tried with several count and

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 ...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

RE: [PHP] what to use instead of foreach

2009-04-13 Thread Leon du Plessis
he arrays, so it is up to you to decide which approach is going to be best: e.g. $my_titles = array("title1","title2"); $my_authors["title1"] = array("a someone, a notherone & Mr. X"); Then you can simply echo the array value: echo "$my_authors[&qu

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 ""; $b = 1; } } Or there are some different ways to approach this also like: for ($a =& current($my_array); $a; $a = next($my_array)) { //Format

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

2009-04-02 Thread Leon du Plessis
Another suggestion would be to use the tag as suggested by Richard, but rename the "name" value ie: You can then use your PHP variable $_POST["btid1"], $_POST["btid2"] or $_POST["btid3"], etc, to determine relevant actions. -Original Message- From: Angus Mann [mailto:angusm...@po

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 string

[PHP] hash_hmac: Encoding with two different results problem

2008-07-23 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', '030B6A05696E657400C54601C60001550187360603773500018707060373796E63000187340603687474703A2F2F772E73796E632E63