Re: [PHP] Missing DLLs

2008-11-12 Thread Thodoris
So I will stick to my LAMP server for the moment until I start feeling that that my masochism side is coming on top. In that case I might deleop something using Microsoft's magnificent OS. I have actually saw what I've posted so forgive my poor english. I hope that I will get better so

[PHP] Weird pdo-mysql behavior

2008-11-13 Thread Thodoris
ing a different configuration in say php.ini that can cause such behavior. Let me know what you think. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Weird pdo-mysql behavior

2008-11-13 Thread Thodoris
What do you mean with 'stops working'? Also, have you created a test-script that only contains (what you think is) the core-problem? If so, can you paste it here? And if not, i advise you to make one, so you can exclude that other factors play a role here. Thodoris wrote: Hi l

Re: [PHP] PECL HTTP Extension

2008-11-13 Thread Thodoris
n-zts-20060613;/usr/lib/php/modules" Now you should additionally tell php besides where to find the modules (with extension_dir) what modules you need to load so add this in php.ini: extension=http.so -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Weird pdo-mysql behavior

2008-11-13 Thread Thodoris
d find something similar in bugs.php.net) or my distro's package is compiled like... -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Weird pdo-mysql behavior

2008-11-14 Thread Thodoris
- http://devshed.excudo.net http://devshed.excudo.net Thanks anyway though for the suggestions. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Weird pdo-mysql behavior

2008-11-14 Thread Thodoris
s expected or that there is a bug in that specific version of PHP. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Weird Syntax Error

2008-11-14 Thread Thodoris
e_id')"; Yup... I was just about to say--you need to wrap your array references with curly braces {}. Otherwise, I believe PHP will look for a primitive variable named $_SESSION, not an array whose indices are "upload" and "size". HTH, Todd Boyd Web Programmer You could also use the "." operator instead and quote using the quote method if you are using PDO. But this is a personal style I guess. -- Thodoris

Re: [PHP] standard safe permissions for php scripts in web directory

2008-11-14 Thread Thodoris
ake the proper changes as needed. This of course probably needs changes to ownership as well. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mySQL query question

2008-11-14 Thread Thodoris
ial for e.g. If I am wrong post us the code to see if someone can help. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Cannot create statement handler

2008-11-17 Thread Thodoris Goltsios
Thodoris wrote: I was wondering if anyone sees something I am bypassing: I have this sample code that works in another server: query($sql); // die(var_dump($sthr)); $res = $sthr->fetch(PDO::FETCH_ASSOC); return $res['Name']; } try { $dbh = new PDO('mysql:h

Re: [PHP] php rpm

2009-02-04 Thread Thodoris Goltsios
ause of the flexibility provided by the ports system and the way that PHP is divided into small parts that can be added or removed easily. Not to mention that you are compiling PHP (as a port) and you can update it or remove it like a package the same time. Again this is my point of view that I wanted to share. --- Thodoris

Re: [PHP] fileinfo on RHEL5

2009-05-13 Thread Thodoris Goltsios
Thodoris wrote: Is fileinfo pecl extension installed as a package or with pecl? In case it is installed as an rpm try to remove it and install it as an extension in case the package is broken for some reason. I installed it with PECL: /usr/share/pear/bin/pecl install fileinfo Other

Re: [PHP] strtotime problem

2008-10-10 Thread Thodoris Goltsios
Greetings, Thodoris. In reply to Your message dated Wednesday, October 8, 2008, 16:35:40, Greetings to you too :-) . From your function name I assume you want to use it in MySQL. In that case, why don't you have MySQL do all the magic for you? eg. INSERT INTO table (col) V

<    1   2   3