Re: [PHP] the state of the PHP community

2010-07-28 Thread Larry Garfield
On Thursday 29 July 2010 12:36:13 am Nathan Rixham wrote: > Hi All, > > I find myself wondering about the state of the PHP community (and > related community with a PHP focus), so, here's a bunch of questions - > feel free to answer none to all of them, on list or off, or add more of > your own -

[PHP] Re: socket multithreading problem

2010-07-28 Thread Nathan Rixham
Ümit CAN wrote: Hi All; I use PHP socket programming and I wish multithreading operation of the socket . When I have many requests on this socket , before the first one request is anwered , the second request is not aswered till the first one is finished. How can both requests work

[PHP] the state of the PHP community

2010-07-28 Thread Nathan Rixham
Hi All, I find myself wondering about the state of the PHP community (and related community with a PHP focus), so, here's a bunch of questions - feel free to answer none to all of them, on list or off, or add more of your own - this isn't for anything specific, just out of interest and sure I

Re: [PHP] Encoding Ampersands

2010-07-28 Thread Rick Dwyer
Exactly what I was looking for! Thanks Josh. --Rick On Jul 29, 2010, at 12:33 AM, Josh Kehn wrote: > Rick- > > Give it a try! > > $test_one = "Green, Red & Blue"; > $test_two = "htm?color=blue&number=2&letter=a"; > > echo htmlentities($test_one); // Green, Red & Blue > echo htmlentities($te

Re: [PHP] Encoding Ampersands

2010-07-28 Thread Rick Dwyer
So htmlentities() will work for "Green, Red & Blue"? Will it work for "htm?color=blue&number=2&letter="? --Rick On Jul 29, 2010, at 12:23 AM, Josh Kehn wrote: > Rick- > > Probably would use htmlentities() instead. You could also do str_replace("&", > "&"); > > Regards, > > -Josh

[PHP] Encoding Ampersands

2010-07-28 Thread Rick Dwyer
Hello List. I have variables displaying content from mysql fields. The contents contains & like "Dogs & Cats"... so naturally the W3C validator chokes on them. Is there a way to encode so they display properly on the page but the validator is OK with them? Is the answer as simple as: urlenc

RE: [PHP] Re: Do you have some standard for defined the variable in program language?

2010-07-28 Thread Carlos Sura
Hello Jordan, As he said... You may use any. > [1] Which one is correct in any given project or organisation is > different question. Yeah, he got a point there. Regards, Carlos Sura. > To: php-general@lists.php.net > From: php-gene...@garydjones.name > Date: Wed, 28 Jul 201

RE: [PHP] File Manager with acl

2010-07-28 Thread Bob McConnell
From: Ricardo Martinez > i want ask to the list, if anyone knows a FIle Manager with ACL, written in > PHP and MySQL. Dokuwiki doesn't require a DBMS, but can use MySQL if you really need to shoehorn it in. Bob McConnell -- PHP General Mailing List

Re: [PHP] storing files in database and retriving them

2010-07-28 Thread Dušan Novaković
Ok, I found the problem :-) There was nothing wrong with storing or sending files, it's just that I tried to load file with jQuery on wrong way :-( Sorry once more to everyone :-( Dusan 2010/7/28 Dušan Novaković : > Hi, > > Here are headers: > > Response Headers > --