<?php
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
$ip = $_SERVER['REMOTE_ADDR'];
echo "Your DNS:$hostname | Your IP:$ip";
?>
http://webscripts.softpedia.com/script/Multimedia/Video/PHP-Youtube-Downloader-31911.html
Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.