[PHP] spl_object_hash not hashing unqiue objects BUG

2009-02-12 Thread Nick Cooper
I am having a problem with spl_object_hash() creating non unique hashes. I understand with MD5 it is possible to have the same hash for different strings but this doesn't seem like that problem. I have created a simple test below, should I report this as a bug or am I doing something wrong. PHP

Re: [PHP] Re: spl_object_hash not hashing unqiue objects BUG

2009-02-12 Thread Nick Cooper
4: 45701af64172cbc2a33069dfed73fd07 a5: 09d264fcececf51c822c9382b40e3edf 2009/2/12 Jochem Maas : > Colin Guthrie schreef: >> 'Twas brillig, and Jochem Maas at 12/02/09 12:47 did gyre and gimble: >>> Colin Guthrie schreef: >>>> 'Twas brillig, and Nick Cooper

Re: [PHP] A couple of questions

2009-03-16 Thread Nick Cooper
2009/3/16 Stuart > 2009/3/16 Payne > > > I had a page working on my opensuse 11.0 32bit, had to upgrade to 11.1 > > 64bit. I have two strange issues. > > > > The first my code is being display when I call the page, I looked at the > > logs and I don't see any errors that explain why this happen.

Re: [PHP] Tripple The Fun

2009-03-24 Thread Nick Cooper
2009/3/24 abdulazeez alugo > > Hello guys, > > The list seems boring to me today so I've come up with an idea (you can > call it a challenge). What if we all wrote to this thread in PHP codes. on't > get the gist yet? well all it means is that, on this thread, all that we > should see must be w

Re: [PHP] Tripple The Fun

2009-03-24 Thread Nick Cooper
2009/3/24 Marc > $RCDCE0CB7B12D0116B987F9A96911A37B = array('2','3','w',' > d','q','o','e','i','3','p','p','2','e','s','a','n','u','y','d','q','z','s'); > for ($REDCEC4A793439846D7944E29AD2898E9=1; > $REDCEC4A793439846D7944E29AD2898E9 % 3)){echo > $RCDCE0CB7B12D0116B987F9A96911A37B[$REDCEC4A79

Re: [PHP] PHP bandwidth control

2009-04-07 Thread Nick Cooper
Sorry to side track the issue, but when did this happen to you on GoDaddy? I have never experienced this problem. I have been using them for two years and I often leave domains in the checkout and come back sometimes days later and they're still $7.95. 2009/4/7 Michael Kubler > DO NOT USE GO-DAD

Re: [PHP] $_GET verses $_POST

2009-04-14 Thread Nick Cooper
$_REQUEST is not any less secure then $_POST/$_GET/$_COOKIE, they all contain raw user data. The way $_REQUEST is being used in this example is not less secure then using $_GET. It does open up an exploit but this is not because $_REQUEST is less secure. The same exploit exists with $_GET, I could

Re: [PHP] Re: PHP 5.3.0 Released!

2009-07-02 Thread Nick Cooper
Does anyone have any further information on the PECL Binaries for 5.3, will they be released? 2009/6/30 pan > Lukas Kahwe Smith wrote: > >> Hello! > >> > >> The PHP Development Team would like to announce the immediate release > >> of PHP 5.3.0. This release is a major improvement in the 5.X ser

[PHP] PHP String convention

2009-10-28 Thread Nick Cooper
Hi, I was just wondering what the difference/advantage of these two methods of writing a string are: 1) $string = "foo{$bar}"; 2) $string = 'foo'.$bar; I always use method 2 but have been noticing method 1 more and more in source code. Is this just user preference? I would use a generic search

Re: [PHP] PHP String convention

2009-10-28 Thread Nick Cooper
2009/10/28 Jim Lucas: > Nick Cooper wrote: >> Hi, >> >> I was just wondering what the difference/advantage of these two >> methods of writing a string are: >> >> 1) $string = "foo{$bar}"; >> >> 2) $string = 'foo'.$bar; >&