VS: technical test and poll command

Petur Kirke pk at simprentis.com
Sat May 9 20:33:44 CEST 2009


i did solve this using string manipulation of "msg" (searching in this string)

petur

________________________________________
Fra: Petur Kirke
Sendt: 4. maj 2009 20:26
Til: fred-users at lists.nic.cz
Emne: technical test and poll command

When i use the poll req command, i get this result:

Queue size [msgQ.count]: 1
Message ID [msgQ.id]: 143
Message date [qDate]: 2009-05-04T18:22:14+01:00
Message content [msg]:
    [nsset:testData]:
    [ATTR: xmlns:nsset: http://www.nic.cz/xml/epp/nsset-1.2; xsi:schemaLocation: http://www.nic.cz/xml/epp/nsset-1.2 nsset-1.2.xsd]
        [nsset:id]: NS437
        [nsset:name]: 'balslev.fo'
        [nsset:result]:
                [nsset:testname]: glue_ok
                [nsset:status]: true
                [nsset:testname]: existence
                [nsset:status]: true
                [nsset:testname]: presence
                [nsset:status]: true
                [nsset:testname]: authoritative
                [nsset:status]: true

But how can i access for example [nsset:status] programmatically. I have tried my best, but i dont know how to do it. Im using PHP. I thought it should be something like:

$fred_data['msg'][nsset:status][0]

But i cant find out the right syntax.

This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed.
If you are not the intended recipient or authorized to receive information for the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. If the email contains proposals, they are valid for 30 days following the date of email transmission. Finally, the recipient should check this email and any attachment for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by email.


More information about the fred-users mailing list