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
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
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
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
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
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
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
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
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
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
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
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 :
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 ,
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
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:
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
= 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
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
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':
19 matches
Mail list logo