BrowserHawk IQ now available! Click here for the full scoop!
Search:
Can I use CountryHawk with PHP?
Created: 3/4/2002    Updated: 12/10/2003
Q   Can I use CountryHawk with PHP?

A   Yes. You can use CountryHawk with PHP, provided you have the ability to run server side ActiveX or JavaBean components from PHP. If you have ActiveX support from within PHP use the ActiveX/.NET version of CountryHawk. Otherwise us the JavaBean version (CountryHawk4J).

Here is a snippet of code which demonstrates how to use CountryHawk from PHP with ActiveX support:

  $countryObj = new COM("cyScape.CountryObj");
  $countryObj->initialize(@$_SERVER["REMOTE_ADDR"]);
  $userCountryCode = $countryObj->CountryCode;

    FAQ Home  |  Search FAQ  |  Show New Items  |  Ask a FAQ  |  Notify Me  |  Most Popular     
 
 
Copyright © 1994-2020 cyScape, Inc. All Rights Reserved. ()
ASP, ASP.NET, ColdFusion MX, CFMX, JSP, PHP