[PHP] installing PHP 5.3 on MAC with mysqlnd support

2007-11-15 Thread Hodicska Gergely
Hi! Can somebody give me some guideline how to install PHP 5.3 to a Mac (intel based) with mysqlnd support? TIA! Best Regards, Felhő -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP4 static properties - PEAR vs my solution

2006-10-06 Thread Hodicska Gergely
Hi! I had a little discussion on a forum topic about static class method and properties. Somebody there pointed to the PEAR::getStaticProperty() solution to emulate static properties in PHP4. I was not familiar with it but its approach seems a little strange for me. It is not really more than

[PHP] PHP4 static properties - PEAR vs my solution

2006-10-06 Thread Hodicska Gergely
Hi! I had a little discussion on a forum topic about static class method and properties. Somebody there pointed to the PEAR::getStaticProperty() solution to emulate static properties in PHP4. I was not familiar with it but its approach seems a little strange for me. It is not really more than

Re: [PHP] PHP4 static properties - PEAR vs my solution

2006-10-06 Thread Hodicska Gergely
But users of the PEAR solution to staticProperties may or may not want any other portion of PEAR as well. But they have the possibility to choose. ;) So it's only better if it suits the needs of the user. You'd have to ask the PEAR users if it's better for them. 1. I sent it here because I

Re: [PHP] editor

2005-10-15 Thread Hodicska Gergely
I read somewhere about an editor, which has built in support for phpdocumentator and creating unit test. Now I could not find it, I tried a lot using Google without success. Could it be PHPEdit ? Yes, thx, this is the editor which I tried to find. I already get it last night, after I tried

[PHP] editor

2005-10-14 Thread Hodicska Gergely
Hi! In advance, this is not a yet another editor question. :) I read somewhere about an editor, which has built in support for phpdocumentator and creating unit test. Now I could not find it, I tried a lot using Google without success. Can anybody find out from this little descrition which

Re: [PHP] editor

2005-10-14 Thread Hodicska Gergely
Hi! http://www.zend.com/store/products/zend-studio/ Thx, I know this one, but I'm really curious about this unit test support. Regards, Felhő -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] POST parsing troubles

2005-04-06 Thread Hodicska Gergely
I need to get all the X headears (which I can) plus the content from this POST. My problem is that the content is not a key/value pair, and so does not apear as a _POST[] variable http://hu2.php.net/manual/en/ini.core.php#ini.always-populate-raw-post-data Felh -- PHP General Mailing List

Re: [PHP] PHP arrays and javascript

2004-11-29 Thread Hodicska Gergely
Hi! Would this work the same for multidimensional arrays? Encoding was a special feature needed by me, maybe you don't need it. Usage: myArray = array(...); echo 'script'.arrayToJsArray($myArray, 'myArray').'/script'; Felho --- 8 --- arrayToJsArray.php --- 8 --- ? function

Re: [PHP] php compiler

2004-11-01 Thread Hodicska Gergely
I kind of hinted in my earlier what is going on but: $a = 1 $b = 0; Is first silently evaluated as: $a = (1 $b = 0); thx your answer, just one more little thing... So the right expression is tested which happens to be ($b = 0). ...why ($b = 0) is on the right side, not only $b. Felho

Re: [PHP] Re: PLEASE HELP ON MAIL FUNCTION

2004-11-01 Thread Hodicska Gergely
http://www.phpclasses.org/mimemessage Or you can try is, which is one of the best mailer class: http://phpmailer.sourceforge.net/ Felho -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php compiler

2004-10-31 Thread Hodicska Gergely
Hi! I think the precedence of left and right associative operands can't be compared. The switch between associativities already separates the expression (if it could be explained this way). Yes, this behaviour confused me. This is not common in other programming languages: o C :

[PHP] php compiler

2004-10-30 Thread Hodicska Gergely
Hi! $a = 0; $b = 1; if ($a = 1 $b = 0) { echo 'true '; var_dump($a); var_dump($b); } else { echo 'false '; var_dump($a); var_dump($b); } Runing this we get: true bool(false) int(0) After the precedence table the first step could be evaluating the ,

Re: [PHP] php compiler

2004-10-30 Thread Hodicska Gergely
Use == instead of = in the if condition. Thx, I know the difference. The exapmle use willfuly =. Felho -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php compiler

2004-10-30 Thread Hodicska Gergely
It outputs this: false bool(false) int(0) Yes, this the right output. And this output is absolutely correct. Your condition gives new values to $a and $b because you use = and not ==. So you do this: Maybe you never read this:

Re: [PHP] php compiler

2004-10-30 Thread Hodicska Gergely
If you see the output, it seems, that PHP evaluate first $b = 0, and this is the problem. $a = 1 $b = 0 PHP sees two expressions here: After the precedence table the first thing should be evaluating 1 $b, so we get: $a = false = 0 Which is not meaningful thing, and maybe this cause that the

Re: [PHP] php compiler

2004-10-30 Thread Hodicska Gergely
= has a right associativity. This is well explained on the page you Oke, but has a higher precedence. The right associativity has sense when all the operand has the same precedence. Felho -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cookies malfunctioning moving from windows to linux

2004-05-30 Thread Hodicska Gergely
Hi! On the server register_globals = off. Use $_COOKIE['ID'] instead of $ID. Felho u.i. always develop with register_globals = off -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] curl problem

2004-03-26 Thread Hodicska Gergely
Hi! I try to compile PHP 4.3.4 with curl support on Debian Woody 3.0. I downloaded the http://curl.haxx.se/download/curl-7.11.1.tar.bz2, and compiled it. ./configure was succesfull. But make generate an error: usr/src/install/php-4.3.4/ext/curl/curl.c: In function `curl_free_post':