The libtld is used to extract the TLD from any URI from anywhere in the world. The library recognizes all TLDs, whatever the number of levels the TLD includes (i.e. .com has one, .au has up to 4 such as .schools.nsw.edu.au) this library will be capable of extracting it. The library is for C, C++, and PHP.
Features
- Reusable TLD extracting code in C/C++
- Supports all known TLDs, over 2,000
- Checked against Firefox (Mozilla Group) TLD definitions
- Verify full URIs and email addresses
- Convert a URI domain to lowercase
License
MIT LicenseOther Useful Business Software
AI-generated apps that pass security review
Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Rate This Project
Login To Rate This Project
User Reviews
-
Libtld is excellent! Thanks.