Suoritettu

Parse 4 php values in a form on separated html page

I have a geo-location script running in an [login to view URL] file.

Need 4 values parsed to a separated html page ([login to view URL]) as values in 4 hidden input-fields within a form

I provide you the script and you return the files including the [login to view URL] page with a form having the values collected/called from [login to view URL] file.

The script provides all values and input fields in form on [login to view URL] needed are..

IP address

Location

Timestamp

OS

[login to view URL] starts like this..

<?php

include("[login to view URL]");

$gi = geoip_open("[login to view URL]", GEOIP_STANDARD);

// use given IP or detect the IP address

if (isset($_GET) && isset($_GET['ip'])) {

$ip = $_GET['ip'];

} else {

$ip = $_SERVER['REMOTE_ADDR'];

}

if (isset($_GET) && isset($_GET['ua'])) {

$ua = $_GET['ua'];

} else {

$ua = $_SERVER['HTTP_USER_AGENT'];

}

// echo "<pre>";

// print_r($_SERVER);

// echo "</pre>";

// get IP type

$ipType = ipVersion($ip);

// if it's an IPv4 address

if ($ipType == 4) {

$code = geoip_country_code_by_addr($gi, $ip);

$name = geoip_country_name_by_addr($gi, $ip);

} elseif ($ipType == 6) {

$code = geoip_country_code_by_addr_v6($gi, $ip);

$name = geoip_country_name_by_addr_v6($gi, $ip);

} elseif ($ipType == "localhost"){

$code = "lo";

$name = "Localhost";

}

// close the IP connection

geoip_close($gi);

%>

NOTICE! - Script is licensed so you can not use in other tasks without a license

Taidot: Javascript, Linux, PHP, tietojärjestelmäarkkitehtuuri

Näytä lisää: registration form code html php, php scripts display contents database html page, php print html page click print button, php extracting data html page, php scripts extract data html page, php contact form add existing page, php parse html page, form post page parse xml php, php encode form data html, display form within html page, read values form php register page, form jump automatically page html php, php extract input values html page, create ms access form produce html page, form creates html page, php merge form data html template, add php contact form to html page, php submit form to same page, php generate pdf from html page, convert vb form to html page

Tietoa työnantajasta:
( 3 arvostelua ) Vaerloese, Denmark

Projektin tunnus: #19954245

Myönnetty käyttäjälle:

                                                    AlexanderPGR
                                                's Profile Picture"                                                    >
                                                </a>
                                            </figure>
                                        </div>
                                        <div class=
AlexanderPGR

Hi. I am very interested in your project. I have worked as an Architectural designer for 7 years. I would like to work with you. My skills are 3D modeling, 3D rendering, Autocad, Building architecture,Revit, Google ske Lisää

$20 USD 1 päivässä
(16 Arvostelua)
4.4

2 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

kavitamodi

I have an expertise in: ✔ PHP and its Frameworks like Codeigniter. ✔ CMS's like Wordpress, Open cart. ✔ Server-side Programming Core PHP, Object-oriented programming using PHP. Behavioural Skills ☞ I have goo Lisää

$20 USD 7 päivässä
(11 arvostelua)
3.2