[PHP] Need help with PDFlib under Linux

2002-09-12 Thread Cameron Thorne
First some background. I have two "servers": 1) Windows XP with Apache 1.3.26 and PHP 4.2.2 2) GNU/Linux with Apache 1.3.26 and PHP 4.2.3 compiled in statically Both are working well, but I now want to add PDFlib support to both servers. On the win32 machine it was as easy as uncommentin

Re: [PHP] Arrays misbehaving!

2002-08-30 Thread Cameron Thorne
That does help, yes. So basically there is no way to access associative arrays using numerical indices? I was hoping I could access by either name OR number, but apparently not. Thanks! -- Cameron -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

[PHP] Arrays misbehaving!

2002-08-30 Thread Cameron Thorne
Can anyone explain why the following code operates the way it does in my comments? 'A', 'b' => 'B', 'c' => 'C'); if (array_key_exists(2, $test)) echo "It works by key number!"; // Does not work. if (array_key_exists('c', $test)) echo "It works by key name!"; // Works. print_r(array_keys($tes