Comments (9)
Thanks for this hint, I added the change to master.
from registered-domain-libs.
Changed split/preg_split to explode()
from registered-domain-libs.
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.
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.
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.
https://bugzilla.mozilla.org/show_bug.cgi?id=925639
from registered-domain-libs.
ok thanks and i hope they will make it correct soon !
from registered-domain-libs.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from registered-domain-libs.