[PHP] Parse XML

2004-05-25 Thread Phil Dowson
Hi, I am having a couple of difficulties with a script to parse XML. This may well be because my 16 month kid was up all night, but I'm banging my head against a wall right now. The script quite easily extracts one of the entries listed under but doesnt list the other. This is my first look into

[PHP] OTP: Programming

2004-03-07 Thread Phil Dowson
capacity, would PHP work for me to create applications with a GUI? I am sorry if this really is an off topic post! Thanks Phil Dowson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP LDAP query - need to add Exchange fields

2003-12-22 Thread Phil Dowson
$ldapconn, $base_dn, $filter); $info = ldap_get_entries($ldapconn, $read); $ii=0; for ($i=0; $ii<$info[$i]["count"]; $ii++){ $data = $info[$i][$ii]; echo $data.":  ".$info[$i][$data][0].""; } ?> Hope it helps Phil Dowson Ben Crothers wrote: Hoping this is a

[PHP] Slow LDAP Queries

2003-12-16 Thread Phil Dowson
-client-2.0.27 My code is below. alert('$totaltime')"); //Script Time Debug -- END ?> Thanks Phil Dowson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ldap_modify(): Modify: Server is unwilling to perform

2003-12-11 Thread Phil Dowson
oblem with the unset $base_dn? I had left the $base_dn blank, as I had no idea what it should be. I would appreciate any help, comments or suggestions. Thanks! Phil Dowson \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \

Re: [PHP] How many Mondays in a month?

2003-09-29 Thread Phil Dowson
The other function I have does this: /* * nth_day * * A function that takes a number and a day and returns the date of * nth occurrence of that day in the given month and year. * * Arguments: * nth - the nth occurence required * day - the day required * month - which month are we talking

[PHP] How many Mondays in a month?

2003-09-29 Thread Phil Dowson
of ways to do this, but I cannot work out a way to show the number for example Mondays that will be in a given month, which I need to work out the average. I can work out the total easy enough, just not the average. TIA Phil Dowson -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] mail()

2003-07-05 Thread Phil Dowson
Perfect solution. Thanks!!! - Original Message - From: "Dan Anderson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 05, 2003 4:30 am Subject: Re: [PHP] mail() > > > Could someone let me know if it is possible to pass a resultset of a query > > > to a single variable

[PHP] mail()

2003-07-04 Thread Phil Dowson
Hi, Could someone let me know if it is possible to pass a resultset of a query to a single variable so it can be included as the message part of the mail function? Thanks! Phil Dowson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php