PHP EPP library IT-NIC (v2.7)

Adding NS records and technical contacts that already exist will no longer be treated as a change to the domain. By accident print_r-statements were left behind in release 2.6; this has been corrected.

Cleanup of lines 224 and 225 in Contact.php causing an E_NOTICE if using sanity_check() with a phone number that has no dot (.) as a separator. Thanks to Luca!
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

DOWNLOAD: EPP library IT-NIC (PHP) (7189 downloads )

PHP EPP library IT-NIC (v2.6)

The changes applied to Domain.php between r45 and r57 have been undone and simplified by using array_diff. The library should now correctly handle multiple technical contacts (also by using array_diff’s). Technical contact handling has been adapted in both the create and update domain templates. Thanks Marco for your input! Please pay attention that a get()-method-call for the value of ‘tech’ will still result in a string instead of an array when only one contact is set. This may cause some issues if you end up with a domain that owns more than one, so better DON’T rely on it being a string! Please see the included sample files “CLI-generic-fetch-domain.php”, “CLI-generic-update-domain-techc.php” and “028-enhanced-db-layout.php”.

The library should now correctly handle multiple technical contacts. Technical contact handling has been adapted in both the create and update domain templates. The changes applied to Domain.php between r45 and r57 have been undone and simplified in the same way. Thanks Marco for your input!

Please pay attention that a get()-method-call for the value of ‘tech’ will still result in a string instead of an array when only one contact is set. This may cause some issues if you end up with a domain that owns more than one, so better DON’T rely on it being a string and have a look at the example provided in “CLI-generic-fetch-domain.php”!

Last not least there are 2 new sample files “CLI-generic-update-domain-techc.php” and “028-enhanced-db-layout.php” that you may find useful.

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

DOWNLOAD: EPP library IT-NIC (PHP) (6696 downloads )

PHP EPP library IT-NIC (v2.4)

Added support for changing single values on registrant fields. If a contact has already information stored in these fields they become read-only, but single fields that are still empty may be set (see paragraph 3.2.1.1 of technical guidelines). Adjusted Contact.php class and update-contact template to allow for these specific operations. Thanks Robin!

An example for this is now available as well.

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

DOWNLOAD: EPP library IT-NIC (PHP) (6607 downloads )