![]() Print_r( IP2LocationLaravel:: cidrToIpv4( '8.0.0. Print_r( IP2LocationLaravel:: decimalToIpv6( '42541956123769884636017138956568135816')) echo '' Import the CSV to your database (make sure to create an index for iplongfrom + iplongto). Print_r( IP2LocationLaravel:: decimalToIpv4( 134744072)) echo '' Print_r( IP2LocationLaravel:: ipv4ToDecimal( '8.8.8.8')) echo '' Add the following line into the routes/web.php file.Create a TestController in Laravel using the below command lineĮcho 'IP Version : '.Rename the BIN file to IP2LOCATION.BIN.Unzip and copy the BIN file into database/ip2location/ folder. To use IP2Location databases, create a folder named as ip2location in the database directory.plugins/ip2location-redirection/ip2location-redirection. This section will explain how to use this extension to query from BIN database and web service. /plugins/popup-by-supsystic/modules/supsysticpromo/mod.php on line 542. IP2Location Laravel extension is able to query the IP address information from either BIN database or web service. Run the command: composer require ip2location/ip2location-laravel to download the package into the Laravel platform. Note: This extension works in Laravel 6, Laravel 7, Laravel 8 and Laravel 9. It has been optimized for speed and memory utilization. IP2Location Laravel extension enables the user to find the country, region, city, coordinates, zip code, time zone, ISP, domain name, connection type, area code, weather, MCC, MNC, mobile brand name, elevation, usage type, IP address type and IAB advertising category from IP address using IP2Location database.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |