php-general Digest 10 Apr 2011 13:12:21 -0000 Issue 7266

2011-04-10 Thread php-general-digest-help
php-general Digest 10 Apr 2011 13:12:21 - Issue 7266 Topics (messages 312322 through 312323): Re: the best 1 book for php 312322 by: domih Re: pick a card, any card... 312323 by: Richard Quadling Administrivia: To subscribe to the digest, e-mail:

php-general Digest 11 Apr 2011 01:12:54 -0000 Issue 7267

2011-04-10 Thread php-general-digest-help
php-general Digest 11 Apr 2011 01:12:54 - Issue 7267 Topics (messages 312324 through 312326): Re: File Upload Problem 312324 by: tedd Silly question 312325 by: Curtis Maurand 312326 by: Curtis Maurand Administrivia: To subscribe to the digest, e-mail:

Re: [PHP] pick a card, any card...

2011-04-10 Thread Richard Quadling
On 9 April 2011 15:43, Curtis Maurand cur...@maurand.com wrote: Curtis Maurand wrote: seems to me that you have an array with integers as the keys. $desired_key = rand(0, count($array)); sorry, I hadn't had coffee, yet.  The line above should be: $desired_key = rand(0,

[PHP] Re: File Upload Problem

2011-04-10 Thread tedd
At 7:15 AM +0200 4/7/11, Wojciech Kupiec wrote: On 06/04/11 19:10, tedd wrote: -snip- What could be wrong? What should I be looking for? If you really want to get help, publish your code. I don't think that's true. I should be able to ask a technical question with observations and inquire

[PHP] Silly question

2011-04-10 Thread Curtis Maurand
Hello, I'm trying to run through an apache log file in an attempt to get all of the user agents. The question is how do I split the string?  I can't seem to find a workable delimiter.  Each section of the file is enclosed in quotes and that should be helpful, but it doesn't seem to be.  I can't

Re: [PHP] Silly question

2011-04-10 Thread Curtis Maurand
nevermind.  There is a function: fgetcsv(); Thanks, Curtis Curtis Maurand wrote: Hello, I'm trying to run through an apache log file in an attempt to get all of the user agents. The question is how do I split the string?  I can't seem to find a workable delimiter.  Each section of

[PHP] socket_connect() unable to connect [115]: Operation now in progress

2011-04-10 Thread Paul McGarry
Hi all, Can anyone explain why I might get a: socket_connect(): unable to connect [115]: Operation now in progress error on a blocking socket? The documentation seems to suggest that is a 'normal' response for a non-blocking socket but I am seeing it on a blocking socket. Example code: