Re: [PHP] For ... <= max($myArray) vs For ... <= $max

2002-11-08 Thread Kjartan Mannes
Friday, November 8, 2002, 12:13:01 PM, Daevid Vincent wrote: > $max = max($myArray); > for( $x = 1; $x <= $length; $x++ ) {} > -- OR -- > for( $x = 1; $x <= max($myArray); $x++ ) {} > My gut instinct tells me since PHP is interpreted, that the top one is > the better way to go, but with the Zen

Re: [PHP] How to use imap?

2002-10-16 Thread Kjartan Mannes
Wednesday, December 4, 2002, 8:15:26 AM, ns_andy wrote: > I've imap-2001a.tar downloaded, > but don't know how to get it work? > I am using Windows 2k , > Can I have the steps of installation of imap? If you are running it on Windows just load the extension php_imap.dll in your php.ini: exten

Re: [PHP] Installing PHP 4.2.3 with Apache 2.0.43 on WinXP Home Edition

2002-10-16 Thread Kjartan Mannes
Wednesday, October 16, 2002, 6:27:12 AM, Reginald Alex Mullin wrote: > I've been trying to get PHP working on my WinXP machine for the past few > days now, but have been unsucessful. The Apache web server itself starts > and works fine (without PHP), but whenever I try loading the PHP module, it

Re: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-12 Thread Kjartan Mannes
Sunday, May 12, 2002, 6:39:31 PM, Sebastian A. wrote: > Hello > I have recently been trying to parse an XML document that has different > content in the same tags. Here is an example: > 1 > 2 > 3 > ... > I am trying to get the content from into an array. I want the > content of the first to g