vovatrack.blogg.se

Ip2location proxy php
Ip2location proxy php












ip2location proxy php

* Type of proxy: VPN, TOR, DCH, PUB, WEB, RES (RES available in PX11 only) */ echo 'Proxy Type: '. To start lookup result from database, use the following codes: $records = $db-> lookup( '1.0.0.8', \ IP2PROXY\ Database:: ALL) $db = new \ IP2Proxy\ Database( 'vendor/ip2location/ip2proxy-php/data/', \ IP2PROXY\ Database:: FILE_IO)

ip2location proxy php

Do not use this mode if your system do not have enough memory. Lookup is possible across all applications within the system.

ip2location proxy php

\IP2Proxy\Database::SHARED_MEMORY - Stores whole IP2Proxy database into system memory.\IP2Proxy\Database::MEMORY_CACHE - Caches database into memory for faster lookup.\IP2Proxy\Database::FILE_IO - File I/O reading.Return remaining credit of the web service account. Note: although the above names are not exactly matched with the names given in this link, but they are self-described. You can visit IP2Location website for the description of each field. Return the database's type, 1 to 10 respectively for PX1 to PX11. Return the database's compilation date as a string of the form 'YYYY-MM-DD', BIN Database Class Function Nameįor SHARED_MEMORY and MEMORY_CACHE, it will require your server to have sufficient memory to hold the BIN data, otherwise it will raise the errors during the object initialization. This data file can be downloaded atīelow are the methods supported in this class. It lookup the proxy IP address from IP2Proxy BIN Data file. This module allows user to query an IP address if it was being used as open proxy, web proxy, VPN anonymizer and TOR exits.














Ip2location proxy php