Just Other Articles
#1 in Business Subscribe Email Print

You are here: Home > Internet and Businesses Online > Web Development > Internationalizing Your Websites

Tags

  • companies
  • advantages
  • combination products

  • Links

  • 4 Things To Watch Out For Before You Sign That Mortgage
  • The Benefits of a Memory Foam Mattress
  • Walking Your Dog - Eleven Rules
  • Just Other Articles - Internationalizing Your Websites

    However one looks at it, the internet is an amazing piece of technology. It allows exposure to your products and services from people all over the world. However, if you're getting international visitors and you're not serving them with the correct content then you're potentially losing-out on a large number of sales.

    We've all seen the seamless way that large sites such as Google seem to 'know' which territory
    According to USFDA, a combination product is one composed of any combination of a drug and device; biological product and device; drug and biological product
    a surfer is coming from and then delivers content appropriately. The truth, however, is that even though there is some cleverness behind the approach there's no magical all-knowing code lying in the background. With some fairly simple perl code and some FTP data downloads you too can replicate this functionality for your own website.

    Don't believe me? Well, in this article I'll show you exactly what y
    ; or drug, device, and biological product and fixed dose combination would include two or more combinations of drug.

    Examples of combination products may in
    u need to do to gain this functionality for your own web pages.

    The basic process involved is to glean your users' IP address (addresses of the form 127.1.1.0) which tells you what server they're using to access the internet. The example given on the left represents a dot-decimal notation which comprises four octets in decimal separated by periods. Everyone is familiar with this notation, however it's not ver
    lude drug-coated devices, drugs packaged with delivery devices in medical kits, and drugs and devices packaged separately but intended to be used together.

    useful if you need to find a number within an IP range (the repositories provide us with IP ranges rather than a list of numbers). To convert from decimal-coded octets to a single decimal number the following process is used (eg. for an IP 1.2.3.4) 1.2.3.4 = 4 + (3 * 256) + (2 * 256 * 256) + (1 * 256 * 256 * 256). The numbers are split and reversed then each is multiplied by 256^n with n in the range 0 to 3.
    here is enormous increase in the number of combination products entering the market in the recent years. Combination products have proven advantages but fixe
    his results in a pure decimal number.

    OK, so you can get your site visitors' IP addresses and convert them to decimal notation (which aids comparisons), but how can you convert these to the country of origin for your visitors? Thankfully for us, the actual allocation of IP addresses so- called Regional Internet Registries (RIRs) which are RIPE NCC (Europe), ARIN (North Americ and part of the Caribbean), LACNIC
    d dose combinations are still in the process of convincing regulatory authority on their advantages over the single ingredient formulations.

    Combination pro
    (Latin America and Caribbean), APNIC (Asia Pacific) and AfrINIC (Africa). Each of these publish a daily list of all the registry data and they make these data available via anonymous FTP. To find them simply navigate to the ARIN home page (which you can find via any search engine) and look for the list of RIRs on the left-hand border. These link you out to the respective FTP sites. Each is a standard repositor
    ucts have become life saving products for the pharmaceutical companies who doesn’t have many innovative molecules in their product pipeline and have been inc
    where the latest version of the data file is available as delegated-*-latest so it's easy to write an automated script that will download the files on a daily basis.

    Once you've grabbed the files from each datacentre they will all have the format (eg from the European data file):

     ripencc|GR|ipv4|62.1.0.0|65536|20000216|allocated
     ripencc|CH|ipv4|62.2.0.0|65536|19981211|allocated
     ripencc|SA|ipv4
    easingly used in the product life cycle management. Even the companies having product patents are trying to extend their product life cycle through the combi
    62.3.0.0|8192|20000721|allocated ripencc|SA|ipv4|62.3.32.0|8192|20020109|allocated ripencc|GB|ipv4|62.3.64.0|16384|20010629|allocated ripencc|SE|ipv4|62.3.128.0|8192|20001005|allocated ripencc|PL|ipv4|62.3.160.0|8192|20020114|allocated ripencc|GB|ipv4|62.3.192.0|16384|20030212|allocated ripencc|FR|ipv4|62.4.0.0|8192|19970513|allocated

    As you can see from the example above the data format is relatively sim
    nation products and maximize the revenues. But the companies involved in this practice are overlooking that they are burdening the patients both economically
    le and easy to parse as the data is delimited by the pipe "|" character.



    COLUMN VALUES ----------------------------------------------------------------- REGISTRY: apnic,arin,ripencc,lacnic,iana COUNTRY_CODE: One of 240 unique 2-character country codes or "*" or "ZZ" (unassigned) ADDRESS_TYPE: asn,ipv4,ipv6 ADDRESS: Either the starting IP Address or AS Number or "*" NUMBER: Number of IPs in range or "
    and physically. They need to rightly judge the benefits of the combination products and they have to even look at the risks involved when combining the produ
    " if ADDRESS_TYPE is "asn" DATE: Date IP range or AS Number was added to database or "*" RANGE_TYPE: "allocated" -> borrowed; "assigned" -> owned

    Only the ipv4 lines are needed, so the others can be discarded, as can any lines with wildcard '*' characters in them. This reduces the file size to about 2.4 MB and about 750 000 lines. Generally I load this into a database and use the ISO 3166 country code
    ts. Some of the combination products were well accepted by physicians while others suffered. Companies involved in development of combination products are fi
    efinitions (search for this on the web) to build another database that converts the two-letter codes in the file above to full country names (the only exception to this is GB which is the ipv4 code for the United Kingdom whereas the ISO 3166 code is UK). I fix this by appending 'GB United Kingdom' to the end of the code_to_name database I create. Once all the data has been loaded into a database and the IP
    ding difficulty in defining their combination products and facing various challenges from selecting a combination to marketing it.

    Following aspects would a
    numbers have been converted to decimal ranges I can start to do something useful.

    As a simple example here's an SQL query that fetches some data across the two databases I've created:

     select cc.country, cc.code, ip.registry, ip.ip_from, ip.ip_to from country_codes cc, 
     ip_maps ip where cc.code = ip.code and ip.code = "GL";
     


    and returns the following data:

     +-----------+------+----------+---
    dd to the challenges in developing combination products:

    Which markets to tap where the combination products can do fairly well?
    Which combination prod
    --------+------------+ | country | code | registry | ip_from | ip_to | +-----------+------+----------+------------+------------+ | GREENLAND | GL | ripencc | 1481834496 | 1481842687 | | GREENLAND | GL | ripencc | 3266437120 | 3266445311 | +-----------+------+----------+------------+------------+ 2 rows in set (0.05 sec)

    This is a very simple query, but the code given below shows you how to
    cts are meaningful and rational?
    Which therapeutic categories to select?
    Which Combinations can address unmet needs of the patients?
    Do combin
    use PHP to do something useful with the databases:

     #first the settings to link to the database

    $user="foo"; $pwd="bar"; $host="my.mysql.host"; $database="ipv4_db";

    #now connect to the database mysql_connect($host,$user,$pwd); @mysql_select_db($database) or die( "Unable to select database");

    $add;

    #fetch the incoming IP address and perform some checks to make sure #that this is valid

    if (getenv("HTTP
    tions increase the patient compliance?
    What would be the developing cost?
    How to tackle the risks encountered during combination product developmen
    CLIENT_IP")) $add = getenv("HTTP_CLIENT_IP"); else if(getenv("HTTP_X_FORWARDED_FOR")) $add = getenv ("HTTP_X_FORWARDED_FOR"); else if(getenv("REMOTE_ADDR")) $add = getenv("REMOTE_ADDR"); else $add = "UNKNOWN";

    #now check that the IP address is valid

    $cmp = strcmp($add,"UNKNOWN");

    #if the IP address is valid

    if ($cmp != 0) {

    #convert the octets into useful decimal

    $ip = sprintf("%u", ip2long($add));

    #now crea
    t?

    As combination products don't fit into the traditional categories of drugs, medical devices, or biological products, the USFDA is in the process of devel
    e the query. Here we're checking to find which IP range the incoming IP

    #address belongs to

    $query = "SELECT cc.country as ctry, cc.code as tlc, ip.registry as rgst from country_codes cc,

    ip_maps ip where cc.code = ip.code and ".$ip." >= ip_from and ".$ip." <= ip_to";

    $result = mysql_query($query) or die('Error, query failed');

    while($row = mysql_fetch_array($result))

    {

    echo "Your IP address: ".$add." origi
    ping new procedures for reviewing their safety, efficacy and quality.

    Professional from academic institutions, pharmaceutical industries, health care indust
    ates in ".$result[ctry].", code: ".$result[tlc]."

    from registry ". $result[rgst]."
    ";

    } } else {

    #something's wrong with the IP address it's either not valid or is being spoofed

    echo "Your stated IP address is invalid... Are you trying to spoof me?"; }

    The code above fetches the IP address of a visitor (after doing some checking to make sure that it's valid) and then grabs the country repre
    y and representatives from various regulatory agencies are working out to design the regulatory requirements for manufacture and sale of combination products
    enting that IP address. It even warns the user of an invalid IP address that they're probably trying to spoof you.

    This is basically all you need. Once you know your visitors' country of origin you can then do useful things like display tailored advertisements or automagically direct them to a relevant Amazon link page or an affiliate link page.

    A full description of how to implement this functionality can b
    .

    As there is an increasing trend of the combination products companies manufacturing such products should be able to tackle the problems involved in the de
    found here: http:// www.celtnet.org.uk/info/IP-to-country-converter.php. This page also gives a demonstration of converting an IP address into a country name and a country map. Basically, once you have the core functionality in place you can amend and improve the code as you see fit. You are limited only by your own imagination (and coding skills). For a further example of how the code is used in practice, h
    elopment. They need to be wiser in analyzing the market trends and the regulatory requirements.

    Companies that provide selfless information through particip
    ve a look at my eBay Misspelling Tool: http://www.celtnet.org.uk/ auctions/synosearchresults.php which uses IP to country conversion to automatically chose the appropriate country of origin for a visitor.

    Remember, Internationalization is one of the buzzwords of the internet at the moment and the more comfortable you can make a surfer feel with your pages the more likely they are to trust you and to buy from you


    tion in industry events and feedback to regulatory authorities would be able to face the challenges and will be successful in developing combination products

    HTTP = HTML link (for blogs, profiles,phorums):
    <a href="http://www.justotherarticles.org.ua/article/86928/justotherarticles-Internationalizing-Your-Websites.html">Internationalizing Your Websites</a>

    BB link (for phorums):
    [url=http://www.justotherarticles.org.ua/article/86928/justotherarticles-Internationalizing-Your-Websites.html]Internationalizing Your Websites[/url]

    Related Articles:

    5 Steps To Getting Domain and Hosting To Pay !

    Your Business Card Should be Your Best Salesman

    E-Commerce- Most Important Parts

    Bookmark it: del.icio.us digg.com reddit.com netvouz.com google.com yahoo.com technorati.com furl.net bloglines.com socialdust.com ma.gnolia.com newsvine.com slashdot.org simpy.com shadows.com blinklist.com