Results 1 to 10 of 10

Thread: EPP server help

  1. #1
    Join Date
    Dec 2004
    Location
    Athens
    Posts
    11

    Exclamation EPP server help

    i am noob with this thing.
    i want to know how to connect with an epp server i donít have any experience with xml and I cant understand how to send values to this server I ll give you an example of login sample please need more info

    thank you

    server url devepp..example..xxx:700/epp/proxy

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
    xsichemaLocation="urn:ietf:params:xml:ns:epp-1.0
    epp-1.0.xsd">
    <command>
    <login>
    <clID>xxxx-xxxxx</clID>
    <pw>xxxxx</pw>
    <options>
    <version>1.0</version>
    <lang>en</lang>
    </options>
    <svcs>
    <objURI>urn:ietf:params:xml:ns:contact-1.0</objURI>
    <objURI>urn:ietf:params:xml:ns:domain-1.0</objURI>
    <objURI>urn:ietf:params:xml:ns:host-1.0</objURI>
    </svcs>
    </login>
    <clTRID>ABC:xxx-xxxx:000000000000000</clTRID>
    </command>
    </epp>

  2. #2
    Join Date
    Jun 2004
    Location
    Woodinville Washington US
    Posts
    601
    Are you doing this in a browser address (type in), or a web page?

    My guess would be a web page, and then it would be a simple form post - ie

    clID=$clID&command=$command&lang=en&objURI=$objURI&param=$param etc and then do a cURL post to the URL/port pairing.

    Unless I'm way off from what you mean.

  3. #3
    Join Date
    Dec 2004
    Location
    Athens
    Posts
    11
    thank you for the reply
    the data will be in web page in my domain
    and if i can use the variables like you said its ok!

    something else what do you mean saying Curl i donít know what is this? can you explain please

    thank you

  4. #4
    Join Date
    Jun 2004
    Location
    Woodinville Washington US
    Posts
    601
    Sorry, cURL is used on linux servers - I assumed you would be using a linux/php combo. You dont have to do that, you can use a asp access object as well.

    If using linux/php you could even use fsock to send the data, or you could even do a html post. Html posts are a little harder becuase you dont have the ability to parse the response on your pages and possibly log anything - but they do work

  5. #5
    Join Date
    Dec 2004
    Location
    Athens
    Posts
    11
    can you give me an example of fsock data send

  6. #6
    Join Date
    Jun 2004
    Location
    Woodinville Washington US
    Posts
    601
    Sure;

    <?php

    $PostVars = "clID=$clID&command=$command&lang=en&objURI=$objURI&param=$param";

    $host = 'devepp..example..xxx';
    $port = '777';

    $socket = fsockopen($host,$port);
    if ( !$socket ) {
    echo "Could not connect to Server -Please try again Later";
    } else {
    // Send GET command with our parameters
    $in = "GET /epp/proxy?" . $PostVars;
    $out = '';
    fputs($socket,$in);
    // Read response
    while ( $out=fread ($socket,2048) ) {
    // Save in rawdata
    $Response .= $out;
    }
    // Close the socket
    fclose( $socket );

    echo $response;


    ?>

    Just a sample - dont gaurantee it to work, but it should get you on the right track at least.

  7. #7
    Join Date
    Feb 2003
    Posts
    5,400
    what registrar are you trying to use? They should have some API you can use which is much easier.
    Domain Maven

  8. #8
    Hi,

    Is there somebody that has a working epp solutions?
    and would you share it with me or help me to create it my own ?

  9. #9
    Join Date
    Jun 2004
    Location
    Woodinville Washington US
    Posts
    601
    Jefius, you would need to be alot more specific to gain any assistance.

    what registrar are you using
    What command are you running
    what are the parameters of the command
    what is the post string and url to be posted to

    and all that good stuff needs to be known well in advance. Just saying I need help with an EPP server is practically useless.

  10. #10
    I'm a registrar for the BE domain and I'm creating a EPP application for it.
    I have knowledge of php but i'm not sure how to start with EPP.
    I can mail you the example from the owner of the BE domain
    Thnx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •