Skip to main content

Home/ lyucfnxnqeqdxdmmmyql/ Use PHP to Create a Registration Form and Email Form Handler
Clyde Zamora

Use PHP to Create a Registration Form and Email Form Handler - 0 views

Online Email Extractor PHP Script phpList install geographic ip address

started by Clyde Zamora on 19 Mar 12
  • Clyde Zamora
     
    Then point your browser to [http://www.yourdomain.com/lists/admin] and follow the instructions on the screen. That is the last step, when done the installation should be finished.

    Another and easier solution how to install this PHP script is to sign up for a quality web hosting service which offers pre-installed PHP scripts. Then easily go to your control panel, find the section with pre-installed scripts and select phpList. The installer will do all the job for you. All you need to do is to choose the script you want to install.

    How to use phpList:

    Login to admin interface and look at configuration functions. From this place you can setup e. g. mailing list url, how often you want to check for a new version, url where users can subscribe and unsubscribe etc. Then check out links under list and user functions. This is the section where you can see and manage current lists, users, eventually import or export users. Under administrator functions it is possible to add, edit or remove administrators and configure attributes for administrators.

    The most important section is called message functions -- from this place you can send messages to your subscribers. You can choose between HTML format, plain text or combination of plain text and HTML, pick some of the templates, set up criteria (e. g. send email only to users that answered "yes" particular question when they signed up) and other options.

    I hope the installation and settings will be easy for your. Anyway if you will have any problem you can visit developers website where is extensive documentation and forum.

    Have you ever wondered how a web site identifies your location or country of origin and automatically redirects you to a different web content? As an example, when you visit Google.com, it will redirect you to your local (translated) Google site like Google Canada (Google-dot-ca) if you are located in Canada.

    This can easily be done by querying an IP address lookup database using a geolocation (geographic location) software code. An IP (Internet Protocol) address is a unique reference associated with every computer connected to the Internet. It is assigned to your computer by your ISP (Internet Service Provider) every time you connect to the Internet.

    Each IP address is associated with a very specific geographic information such as country but also region, city, latitude, longitude, ZIP or postal code, time zone, connection speed, ISP and domain name, IDD country code, area code, weather station code and name.

    This technique gives also the ability to webmasters to restrict content based on the visitor's country of origin.

    Here is a sample free PHP script code querying a database and returning the country of origin:



    // Canada

    preg_match ("/wiki(.*)/i", $NetGeoHTML, $temp) or die("Could not find element LAT");

    $location[0] = $temp[0];

    return $location;

    }

    $ip = $_SERVER['REMOTE_ADDR'];

    $location = get_ip_location($ip);

    $remote_location = substr($location[0], strpos($location[0], '')+3, -8);

    echo 'My location is '. $remote_location. '.';

    ? >



    If I run this piece of code on my server, the output of the code will be:



    My location is Canada.



    I conducted an Internet search, and much to my surprise, I discovered thousands of people, much like yourself, wanted to know how to create a PHP contact email form.

    IP Address Geolocation to Country Free PHP Script, Making Money From Web Scripts, Use PHP to Create a Registration Form and Email Form Handler

To Top

Start a New Topic » « Back to the lyucfnxnqeqdxdmmmyql group