Giter Club home page Giter Club logo

Comments (9)

usrflo avatar usrflo commented on July 20, 2024

Thanks for this hint, I added the change to master.

from registered-domain-libs.

usrflo avatar usrflo commented on July 20, 2024

Changed split/preg_split to explode()

from registered-domain-libs.

Naxia avatar Naxia commented on July 20, 2024

i am using this libarary to get domain name only (not subdomain ) form url but it gives me just last two word of the link;
For example:
subdomain.domain.com.au ant it returns only .com.au... can you plz help me for this
Thanks in advance!

from registered-domain-libs.

usrflo avatar usrflo commented on July 20, 2024

Could you please attach the effectiveTLDs file you are using? It seems to be incomplete.
Currently the source for public suffixes at http://mxr.mozilla.org/mozilla-central/source/netwerk/dns/effective_tld_names.dat?raw=1 is down, maybe this resulted in an empty effectiveTLDs mapping when using generateEffectiveTLDs.php

from registered-domain-libs.

usrflo avatar usrflo commented on July 20, 2024

BTW: I see that Mozilla's effective_tld_names.dat can be fetched by https currently (https://mxr.mozilla.org/mozilla-central/source/netwerk/dns/effective_tld_names.dat?raw=1). I will write to them to make it available by http again.

from registered-domain-libs.

usrflo avatar usrflo commented on July 20, 2024

https://bugzilla.mozilla.org/show_bug.cgi?id=925639

from registered-domain-libs.

Naxia avatar Naxia commented on July 20, 2024

ok thanks and i hope they will make it correct soon !

from registered-domain-libs.

Naxia avatar Naxia commented on July 20, 2024

if i use this library in custom php it works fine but when i used this library in drupal 7 it just gives me last twpo extensions .com .au not properly like domain.com.au, can you plz clear me that can i use this in drupal 7 cms?

from registered-domain-libs.

usrflo avatar usrflo commented on July 20, 2024

Naxia, please debug this problem in drupal 7 directly: I guess the domain input string varies between your custom php and the integration in drupal 7.

from registered-domain-libs.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.