[PHP] Mysql 5.5 and PHP Mysql API Version 5.1.41

2011-02-15 Thread Matthias Laug
Hey there, I've just migrated to Mysql 5.5 from source and it works like a charm. Still every now and then (in intervals of approximatly an hour) I get the following error: Error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading

Re: [PHP] Time Problem: always ten past xx

2009-10-06 Thread Matthias Laug
argh, why do I always stick to the stupid questions :( sorry Am 06.10.2009 um 10:03 schrieb Mert Oztekin: You also write the answer var_dump(strftime("%d.%m.%Y %H:%m",$time)); there are 2 %m you see? %m is month :) for minute use %i -Original Message----- From: Mat

[PHP] Time Problem: always ten past xx

2009-10-06 Thread Matthias Laug
Hey everybody, I've got a strange problem. Using PHP5.3 on my MacBook. There is a script, which handles input from user, in this case a date and time. So I get for example "10:30" and "06.10.2009". Standard german time format. Now I try to get the correct timestamp: $time = strtotime("06

[PHP] Re: Curl fiel Upload

2009-01-21 Thread Matthias Laug
thanks! 2009/1/21 Manuel Lemos > Hello, > > on 01/20/2009 09:10 PM Matthias Laug said the following: > > I've got a problem using curl to upload a file. I want to send it to a > form > > written with the Django Framework. > > > > Post Request are proces

[PHP] Curl fiel Upload

2009-01-20 Thread Matthias Laug
Hello everybody, I've got a problem using curl to upload a file. I want to send it to a form written with the Django Framework. Post Request are processed correctly, with one anomaly. This piece of code works fine curl_setopt($process, CURLOPT_POSTFIELDS, http_build_query($data)); But if i