Re: [PHP] Re: File Upload Problem

2011-04-10 Thread Louis Huppenbauer
Is there already a file with the same name? Apparently copy won't overwrite a file on windows if it already exists. Maybe you have the same problem ffproberen2 at dodgeit dot com had on the php.net/move_uploaded_file manpage? 2011/4/10 tedd : > At 7:15 AM +0200 4/7/11, Wojciech Kupiec wrote: >> >

[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:

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

[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

[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 a

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

2011-04-10 Thread Richard Quadling
On 9 April 2011 15:43, Curtis Maurand 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, count($ar