WordPress.org

Forums

DomainLabs Whois
[resolved] Push domain name to query via a link (4 posts)

  1. webauthor
    Member
    Posted 2 years ago #

    We're using your plugin which works very well. Thank you. I do have a question however, I want to create a link to perform a whois and pass a domain name to the plugin. So in other words, when someone links on the link to the Whois, I want to have the domain name (wordpress.org for example) to already show the Whois search results for that particular domain name.

    For example something like this...
    http://example.com/whois-search=?wordpress.org

    Is there any way to do this? Right now we can only create a link to our whois page but then the end user has to retype the domain name and click search.

    Thanks,

    John

    http://wordpress.org/extend/plugins/domainlabs-whois/

  2. Bahri CANLI
    Member
    Plugin Author

    Posted 1 year ago #

    Do you want show whois url?
    Forexample: http://www.kalehost.net/en/services/whois/?domain=bahri.info is it true?

  3. webauthor
    Member
    Posted 1 year ago #

    Hi Bahri,

    Yes that is correct. Is it possible to show the domain in the URL?

    Thanks,

    John

  4. Bahri CANLI
    Member
    Plugin Author

    Posted 1 year ago #

    1) Firstly change method="post" to method="get"

    <form action="'. get_bloginfo('wpurl').$domainwhoisAdminOptions['whois-redirect-url'].'" id="wpwhoisfor" method="post" style="margin: 0px;">

    2) change $_POST to $_GET

    $domain = stripslashes(trim($_POST['domain']));
    if(isset($_POST['lookup'])) {

    it can be work

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • DomainLabs Whois
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.