-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fixed clTRID in RawXml.php example - Updated support for .hk
- Loading branch information
Showing
2 changed files
with
81 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
/** | ||
* Tembo EPP client test file | ||
* | ||
* Written in 2023 by Taras Kondratyuk (https://getpinga.com) | ||
* Written in 2024 by Taras Kondratyuk (https://getpinga.com) | ||
* Based on xpanel/epp-bundle written in 2019 by Lilian Rudenco ([email protected]) | ||
* | ||
* @license MIT | ||
|
@@ -15,6 +15,7 @@ | |
try | ||
{ | ||
$epp = connectEpp('generic'); | ||
$clTRID = str_replace('.', '', round(microtime(1), 3)); | ||
|
||
$params = array( | ||
'xml' => '<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
|
@@ -28,7 +29,7 @@ | |
<domain:name>example.net</domain:name> | ||
</domain:check> | ||
</check> | ||
<clTRID>ABC-12345</clTRID> | ||
<clTRID>'.$clTRID.'</clTRID> | ||
</command> | ||
</epp> | ||
'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters