Politics › Re: Is Tinubu Still Relevant To Nigerian Politics? Debate by hakimade(m): 2:05am On Jul 17, 2014 |
I can see that some people are used to suffer ness if you say NO you mean no OPs why should you live without alternative. See all these pple are the same all i mean but you must have alternative |
Politics › Re: Gov. Nyako Impeached By Adamawa Assembly by hakimade(m): 6:44pm On Jul 15, 2014 |
His impeachment does not mean PDP can win that state come next election if its free and fair Hausa don't think they way we southerner do  |
Politics › Re: .. by hakimade(m): 8:34am On Jul 13, 2014 |
musiwa i dont know you and how many Oduas know you? How many Oduas knows all this? plz can you give urs another documented fact? apart from video the young Oduas are really tired of Nigeria but they don't really all know. |
Politics › Re: APC Will Win In 2015 I Can Bet My Life On That by hakimade(m): 1:05pm On Jul 12, 2014 |
see u you are not from osun and u are talking about osun lolzz. see that election is 50/50. if u want to win election in s/w you need to work with the thugs/transporters and the market women. ogbeni is an alasalatu man he owns the market women omisore as a runz man owns the thugs now is just like AC VS PDP in lagos 2007 if APC pays the thugs well somes days b4 election they will win. ogbeni is not like fayemi who is not an asalatu man and not a thug like fayose.that is why pdp won.
2 the population of the muslims in osun is more than the christen and the way this muslim pple behave hmmm there 2 places u have population of the christen too, ife and ijesa. ogbeni is from ijesa and ijesa pple might support there son although omisore is from ife. the battle no go be small once sha |
Politics › Re: Osun: Two Injured As New School Building Collapses by hakimade(m): 6:06am On Jul 10, 2014 |
Wind bring only the school structure down without raining lol......a good work from power of the people if that cant build such they should be able to bring down such ;DWind bring only the school structure down without raining lol......a good work from power of the people if that cant build such they should be able to bring down such |
Politics › Why U Most Not Vote For Pdp by hakimade(op): 9:10pm On Jul 06, 2014 |
Under the PDP failed policy/priority in Education, ASUP has been on strike for more than 10 months.
The fraud of the PDP-Led govt. Called Oil subsidy........... Farouk lawan of the PDP is still a free man....... GEJ's Committee reccomendation on Stella Oduah scandal was not Implemented, hence she still a free woman
PDP imposition of tough policies on the purses of citizenry....phcn service charge charge on used car, rice and viewing local TV station.
The PDP have failed terribly in security. The bokoharam insurgence,kidnapping and armed robbery are all part of the insecurity PDP have failed to tackle.
PDP's administration under Jonathan, that will setup a committee to carryout and extensive fact-finding mission - only to turn around and deny the findings of its own committee, throw away the Report and Pretend nothing happen. Eg: Ribadu's committee, the Chibok Committee on the abducted school girls, etc.
PDP led federal government spent over 20 billion US dollars on power sector without commensurate result. Nigeria is still suffering from epileptic power supply.
Missing 20Billion Dollars under GEJ's government.
Creation of 1000 job opportunity for ova 20million unemployed youths..... Ds is ridiculous. 2015 is ryt in d corner dnt vote for branded rice ooo |
|
|
Webmasters › Is This Message From Voguepay Or Who??????? by hakimade(op): 12:27am On Dec 05, 2013 |
goodday nairalanders i just got this message can someone tell me if this message is real or not We received your request for more information from the voguepay group. Before we begin sending you the information you requested, we want to be certain we have your permission.
----------------------------------------------------------- CONFIRM BY VISITING THE LINK BELOW:
http://www.aweber.com/z/c/?zwnxsby03a1pa2hiamdw5ralj0xva23clr3599
Click the link above to give us permission to send you information. It's fast and easy! If you cannot click the full URL above, please copy and paste it into your web browser.
----------------------------------------------------------- If you do not want to confirm, simply ignore this message.
Thank you,
VoguePay Team
279 Agege Motor Road, Agege, Lagos State - Nigeria. 100005
Request generated by: IP: 90.212.227.118 Date: December 4, 2013 18:16 EST
|
Programming › Re: Leading It Firms In Nigeria? by hakimade(m): 5:34am On Nov 11, 2013 |
Check out IMMENSE IT SOLUTIONS ( www.immenseitsolutions.com) the provide Mobile Development, Applications and Web Security, Web Development and Design, Custom Application Development, They develop network environment |
Programming › Why Is This Not Working For Me by hakimade(op): 9:58pm On Aug 25, 2012 |
{code} <script> document.getElementByType("submit"  .onclick = function(){alert("Hello"  }; </script> <body> <input type="submit" value="Send" name="button1" id="hello"> </body> {code} |
|
|
Adverts › Wind Power Generator by hakimade(op): 11:11am On Feb 06, 2012 |
i need a cheap wind power generator that can be use to charge my two 12V/200amp battery can anybody tell me where i can get this type of generator and if you have any one to sell please call this number (07034844229) |
Technology Market › 7000 Naira For 2 Weeks Facebook Advert by hakimade(op): 2:18pm On Feb 15, 2011 |
Cheap facebook and Google Advert Credit Hello Everybody I have this for sale $50 Google Advert credit ( 1units for 20,000 Naira) $50 Facebook Adveert Credit (1 units for 7,000 Naira) Works Worldwide, Expire in 90 days after redeem Work on new account within 15 days of creation. Instant Ad Coupon Code delivered to your email and phone number For any other information please feel free to email us admin@immenseitsolutions.com or call 07034844229 http://www.immenseitsolution.com/onlinemarking.html |
|
Fashion › Get Your Domain And Hosting Space For As Low As ₦2000/1gb by hakimade(op): 7:28pm On Dec 04, 2010 |
Experience the unbeatable Domain name and Web hosting services We are dedicated to provide customers with the most reliable web hosting service possible. Fast, Reliable, at affordable price with secure servers, and 24/7 technical support. http://www.immenseitsolution.com/07034844229 |
Web Market › Get Your Domain And Hosting Space For As Low As ₦2000/1gb by hakimade(op): 2:11pm On Dec 03, 2010 |
Experience the unbeatable Domain name and Web hosting services We are dedicated to provide customers with the most reliable web hosting service possible. Fast, Reliable, at affordable price with secure servers, and 24/7 technical support. http://www.immenseitsolution.com/07034844229 |
Tech Jobs › Good Web Application Developer Is Wanted Urgently by hakimade(op): 10:48am On Oct 02, 2010 |
Good web application developer is wanted urgently to develop a social networking website which will enable people to send sms,meet people and make friend. The website design is already. all you need to do is just the implementation of the website.if you are interested please contact me at the admin@immenseitsolution.com or hakimade.2@gmail.com for a good deal  |
Programming › Can Any Body Help Me With A Php Lookup Script by hakimade(op): 6:32am On Aug 13, 2010 |
hello can anybody help me with a php lookup script i just go this but not working fine $domain = $_GET['domain'];
// For the full list of TLDs/Whois servers see http://www.iana.org/domains/root/db/ and http://www.whois365.com/en/listtld/ $whoisservers = array( "ac" =>"whois.nic.ac", "ae" =>"whois.nic.ae", "aero"=>"whois.aero", "af" =>"whois.nic.af", "ag" =>"whois.nic.ag", "al" =>"whois.ripe.net", "am" =>"whois.amnic.net", "arpa" =>"whois.iana.org", "as" =>"whois.nic.as", "asia" =>"whois.nic.asia", "at" =>"whois.nic.at", "au" =>"whois.aunic.net", "az" =>"whois.ripe.net", "ba" =>"whois.ripe.net", "be" =>"whois.dns.be", "bg" =>"whois.register.bg", "bi" =>"whois.nic.bi", "biz" =>"whois.biz", "bj" =>"whois.nic.bj", "br" =>"whois.registro.br", "bt" =>"whois.netnames.net", "by" =>"whois.ripe.net", "bz" =>"whois.belizenic.bz", "ca" =>"whois.cira.ca", "cat" =>"whois.cat", "cc" =>"whois.nic.cc", "cd" =>"whois.nic.cd", "ch" =>"whois.nic.ch", "ci" =>"whois.nic.ci", "ck" =>"whois.nic.ck", "cl" =>"whois.nic.cl", "cn" =>"whois.cnnic.net.cn", "com" =>"whois.verisign-grs.com", "coop" =>"whois.nic.coop", "cx" =>"whois.nic.cx", "cy" =>"whois.ripe.net", "cz" =>"whois.nic.cz", "de" =>"whois.denic.de", "dk" =>"whois.dk-hostmaster.dk", "dm" =>"whois.nic.cx", "dz" =>"whois.ripe.net", "edu" =>"whois.educause.edu", "ee" =>"whois.eenet.ee", "eg" =>"whois.ripe.net", "es" =>"whois.ripe.net", "eu" =>"whois.eu", "fi" =>"whois.ficora.fi", "fo" =>"whois.ripe.net", "fr" =>"whois.nic.fr", "gb" =>"whois.ripe.net", "gd" =>"whois.adamsnames.com", "ge" =>"whois.ripe.net", "" =>"whois.channelisles.net", "gi" =>"whois2.afilias-grs.net", "gl" =>"whois.ripe.net", "gm" =>"whois.ripe.net", "gov" =>"whois.nic.gov", "gr" =>"whois.ripe.net", "gs" =>"whois.nic.gs", "gw" =>"whois.nic.gw", "gy" =>"whois.registry.gy", "hk" =>"whois.hkirc.hk", "hm" =>"whois.registry.hm", "hn" =>"whois2.afilias-grs.net", "hr" =>"whois.ripe.net", "hu" =>"whois.nic.hu", "ie" =>"whois.domainregistry.ie", "il" =>"whois.isoc.org.il", "in" =>"whois.inregistry.net", "info" =>"whois.afilias.info", "int" =>"whois.iana.org", "io" =>"whois.nic.io", "iq" =>"vrx.net", "ir" =>"whois.nic.ir", "is" =>"whois.isnic.is", "it" =>"whois.nic.it", "je" =>"whois.channelisles.net", "jobs" =>"jobswhois.verisign-grs.com", "jp" =>"whois.jprs.jp", "ke" =>"whois.kenic.or.ke", "kg" =>"www.domain.kg", "ki" =>"whois.nic.ki", "kr" =>"whois.nic.or", "kz" =>"whois.nic.kz", "la" =>"whois.nic.la", "li" =>"whois.nic.li", "lt" =>"whois.domreg.lt", "lu" =>"whois.dns.lu", "lv" =>"whois.nic.lv", "ly" =>"whois.nic.ly", "ma" =>"whois.iam.net.ma", "mc" =>"whois.ripe.net", "md" =>"whois.ripe.net", "me" =>"whois.meregistry.net", "mg" =>"whois.nic.mg", "mil" =>"whois.nic.mil", "mn" =>"whois.nic.mn", "mobi" =>"whois.dotmobiregistry.net", "ms" =>"whois.adamsnames.tc", "mt" =>"whois.ripe.net", "mu" =>"whois.nic.mu", "museum" =>"whois.museum", "mx" =>"whois.nic.mx", "my" =>"whois.mynic.net.my", "na" =>"whois.na-nic.com.na", "name" =>"whois.nic.name", "net" =>"whois.verisign-grs.net", "nf" =>"whois.nic.nf", "nl" =>"whois.domain-registry.nl", "no" =>"whois.norid.no", "nu" =>"whois.nic.nu", "nz" =>"whois.srs.net.nz", "org" =>"whois.pir.org", "pl" =>"whois.dns.pl", "pm" =>"whois.nic.pm", "pr" =>"whois.uprr.pr", "pro" =>"whois.registrypro.pro", "pt" =>"whois.dns.pt", "re" =>"whois.nic.re", "ro" =>"whois.rotld.ro", "ru" =>"whois.ripn.net", "sa" =>"whois.nic.net.sa", "sb" =>"whois.nic.net.sb", "sc" =>"whois2.afilias-grs.net", "se" =>"whois.iis.se", "sg" =>"whois.nic.net.sg", "sh" =>"whois.nic.sh", "si" =>"whois.arnes.si", "sk" =>"whois.ripe.net", "sm" =>"whois.ripe.net", "st" =>"whois.nic.st", "su" =>"whois.ripn.net", "tc" =>"whois.adamsnames.tc", "tel" =>"whois.nic.tel", "tf" =>"whois.nic.tf", "th" =>"whois.thnic.net", "tj" =>"whois.nic.tj", "tk" =>"whois.dot.tk", "tl" =>"whois.nic.tl", "tm" =>"whois.nic.tm", "tn" =>"whois.ripe.net", "to" =>"whois.tonic.to", "tp" =>"whois.nic.tl", "tr" =>"whois.nic.tr", "travel" =>"whois.nic.travel", "tv" => "tvwhois.verisign-grs.com", "tw" =>"whois.twnic.net.tw", "ua" =>"whois.", "ug" =>"whois.co.ug", "uk" =>"whois.nic.uk", "us" =>"whois.nic.us", "uy" =>"nic.uy", "uz" =>"whois.cctld.uz", "va" =>"whois.ripe.net", "vc" =>"whois2.afilias-grs.net", "ve" =>"whois.nic.ve", "vg" =>"whois.adamsnames.tc", "wf" =>"whois.nic.wf", "ws" =>"whois.website.ws", "yt" =>"whois.nic.yt", "yu" =>"whois.ripe.net" ;
function LookupDomain($domain){ global $whoisservers; $whoisserver = ""; foreach($whoisservers as $tld=>$server) { if(substr($domain, -strlen($tld)) == $tld) { $whoisserver = $server; break; } } if(!$whoisserver) { return "Error: No appropriate Whois server found for $domain domain!"; } $result = QueryWhoisServer($whoisserver, $domain); if(!$result) { return "Error: No results retrieved from $whoisserver server for $domain domain!"; } else { while(strpos($result, "Whois Server:" !== FALSE){ preg_match("/Whois Server: (.*)/", $result, $matches); $secondary = $matches[1]; if($secondary) { $result = QueryWhoisServer($secondary, $domain); $whoisserver = $secondary; } } } return "$domain domain lookup results from $whoisserver server:\n\n" . $result; }
function LookupIP($ip) { $whoisservers = array( //"whois.afrinic.net", // Africa - returns timeout error :-( "whois.lacnic.net", // Latin America and Caribbean - returns data for ALL locations worldwide :-) "whois.apnic.net", // Asia/Pacific only "whois.arin.net", // North America only "whois.ripe.net" // Europe, Middle East and Central Asia only ); $results = array(); foreach($whoisservers as $whoisserver) { $result = QueryWhoisServer($whoisserver, $ip); if($result && !in_array($result, $results)) { $results[$whoisserver]= $result; } } $res = "RESULTS FOUND: " . count($results); foreach($results as $whoisserver=>$result) { $res .= "\n\n-------------\nLookup results for $ip from $whoisserver server:\n\n$result"; } return $res; }
function ValidateIP($ip) { $ipnums = explode(".", $ip); if(count($ipnums) != 4) { return false; } foreach($ipnums as $ipnum) { if(!is_numeric($ipnum) || ($ipnum > 255)) { return false; } } return $ip; }
function ValidateDomain($domain) { if(!preg_match("/^([-a-z0-9]{2,100})\.([a-z\.]{2,8})$/i", $domain)) { return false; } return $domain; }
function QueryWhoisServer($whoisserver, $domain) { $port = 43; $timeout = 10; $fp = @fsockopen($whoisserver, $port, $errno, $errstr, $timeout) or die("Socket Error " . $errno . " - " . $errstr); if($whoisserver == "whois.verisign-grs.com" $domain = "=".$domain; // whois.verisign-grs.com requires the equals sign ("=" or it returns any result containing the searched string. fputs($fp, $domain . "\r\n" ; $out = ""; while(!feof($fp)){ $out .= fgets($fp); } fclose($fp);
$res = ""; if((strpos(strtolower($out), "error" === FALSE) && (strpos(strtolower($out), "not allocated" === FALSE)) { $rows = explode("\n", $out); foreach($rows as $row) { $row = trim($row); if(($row != '') && ($row{0} != '#') && ($row{0} != '%')) { $res .= $row."\n"; } } } return $res; } ?> <html> <head> <title>Whois Lookup Script</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>
<body> <form action="<?=$_SERVER['PHP_SELF'];?>"> <p><b><label for="domain">Domain/IP Address:</label></b> <input type="text" name="domain" id="domain" value="<?=$domain;?>"> <input type="submit" value="Lookup"></p> </form> <? if($domain) { $domain = trim($domain); if(ValidateIP($domain)) { $result = LookupIP($domain); } elseif(ValidateDomain($domain)) { $result = LookupDomain($domain); } else die("Invalid Input!" ; echo "<pre>\n" . $result . "\n</pre>\n"; } ?> </body> </html>
|
Webmasters › Can Any Body Help Me With A Php Lookup Script by hakimade(op): 6:31am On Aug 13, 2010 |
hello can anybody help me with a php lookup script i just go this but not working fine $domain = $_GET['domain'];
// For the full list of TLDs/Whois servers see http://www.iana.org/domains/root/db/ and http://www.whois365.com/en/listtld/ $whoisservers = array( "ac" =>"whois.nic.ac", "ae" =>"whois.nic.ae", "aero"=>"whois.aero", "af" =>"whois.nic.af", "ag" =>"whois.nic.ag", "al" =>"whois.ripe.net", "am" =>"whois.amnic.net", "arpa" =>"whois.iana.org", "as" =>"whois.nic.as", "asia" =>"whois.nic.asia", "at" =>"whois.nic.at", "au" =>"whois.aunic.net", "az" =>"whois.ripe.net", "ba" =>"whois.ripe.net", "be" =>"whois.dns.be", "bg" =>"whois.register.bg", "bi" =>"whois.nic.bi", "biz" =>"whois.biz", "bj" =>"whois.nic.bj", "br" =>"whois.registro.br", "bt" =>"whois.netnames.net", "by" =>"whois.ripe.net", "bz" =>"whois.belizenic.bz", "ca" =>"whois.cira.ca", "cat" =>"whois.cat", "cc" =>"whois.nic.cc", "cd" =>"whois.nic.cd", "ch" =>"whois.nic.ch", "ci" =>"whois.nic.ci", "ck" =>"whois.nic.ck", "cl" =>"whois.nic.cl", "cn" =>"whois.cnnic.net.cn", "com" =>"whois.verisign-grs.com", "coop" =>"whois.nic.coop", "cx" =>"whois.nic.cx", "cy" =>"whois.ripe.net", "cz" =>"whois.nic.cz", "de" =>"whois.denic.de", "dk" =>"whois.dk-hostmaster.dk", "dm" =>"whois.nic.cx", "dz" =>"whois.ripe.net", "edu" =>"whois.educause.edu", "ee" =>"whois.eenet.ee", "eg" =>"whois.ripe.net", "es" =>"whois.ripe.net", "eu" =>"whois.eu", "fi" =>"whois.ficora.fi", "fo" =>"whois.ripe.net", "fr" =>"whois.nic.fr", "gb" =>"whois.ripe.net", "gd" =>"whois.adamsnames.com", "ge" =>"whois.ripe.net", "" =>"whois.channelisles.net", "gi" =>"whois2.afilias-grs.net", "gl" =>"whois.ripe.net", "gm" =>"whois.ripe.net", "gov" =>"whois.nic.gov", "gr" =>"whois.ripe.net", "gs" =>"whois.nic.gs", "gw" =>"whois.nic.gw", "gy" =>"whois.registry.gy", "hk" =>"whois.hkirc.hk", "hm" =>"whois.registry.hm", "hn" =>"whois2.afilias-grs.net", "hr" =>"whois.ripe.net", "hu" =>"whois.nic.hu", "ie" =>"whois.domainregistry.ie", "il" =>"whois.isoc.org.il", "in" =>"whois.inregistry.net", "info" =>"whois.afilias.info", "int" =>"whois.iana.org", "io" =>"whois.nic.io", "iq" =>"vrx.net", "ir" =>"whois.nic.ir", "is" =>"whois.isnic.is", "it" =>"whois.nic.it", "je" =>"whois.channelisles.net", "jobs" =>"jobswhois.verisign-grs.com", "jp" =>"whois.jprs.jp", "ke" =>"whois.kenic.or.ke", "kg" =>"www.domain.kg", "ki" =>"whois.nic.ki", "kr" =>"whois.nic.or", "kz" =>"whois.nic.kz", "la" =>"whois.nic.la", "li" =>"whois.nic.li", "lt" =>"whois.domreg.lt", "lu" =>"whois.dns.lu", "lv" =>"whois.nic.lv", "ly" =>"whois.nic.ly", "ma" =>"whois.iam.net.ma", "mc" =>"whois.ripe.net", "md" =>"whois.ripe.net", "me" =>"whois.meregistry.net", "mg" =>"whois.nic.mg", "mil" =>"whois.nic.mil", "mn" =>"whois.nic.mn", "mobi" =>"whois.dotmobiregistry.net", "ms" =>"whois.adamsnames.tc", "mt" =>"whois.ripe.net", "mu" =>"whois.nic.mu", "museum" =>"whois.museum", "mx" =>"whois.nic.mx", "my" =>"whois.mynic.net.my", "na" =>"whois.na-nic.com.na", "name" =>"whois.nic.name", "net" =>"whois.verisign-grs.net", "nf" =>"whois.nic.nf", "nl" =>"whois.domain-registry.nl", "no" =>"whois.norid.no", "nu" =>"whois.nic.nu", "nz" =>"whois.srs.net.nz", "org" =>"whois.pir.org", "pl" =>"whois.dns.pl", "pm" =>"whois.nic.pm", "pr" =>"whois.uprr.pr", "pro" =>"whois.registrypro.pro", "pt" =>"whois.dns.pt", "re" =>"whois.nic.re", "ro" =>"whois.rotld.ro", "ru" =>"whois.ripn.net", "sa" =>"whois.nic.net.sa", "sb" =>"whois.nic.net.sb", "sc" =>"whois2.afilias-grs.net", "se" =>"whois.iis.se", "sg" =>"whois.nic.net.sg", "sh" =>"whois.nic.sh", "si" =>"whois.arnes.si", "sk" =>"whois.ripe.net", "sm" =>"whois.ripe.net", "st" =>"whois.nic.st", "su" =>"whois.ripn.net", "tc" =>"whois.adamsnames.tc", "tel" =>"whois.nic.tel", "tf" =>"whois.nic.tf", "th" =>"whois.thnic.net", "tj" =>"whois.nic.tj", "tk" =>"whois.dot.tk", "tl" =>"whois.nic.tl", "tm" =>"whois.nic.tm", "tn" =>"whois.ripe.net", "to" =>"whois.tonic.to", "tp" =>"whois.nic.tl", "tr" =>"whois.nic.tr", "travel" =>"whois.nic.travel", "tv" => "tvwhois.verisign-grs.com", "tw" =>"whois.twnic.net.tw", "ua" =>"whois.", "ug" =>"whois.co.ug", "uk" =>"whois.nic.uk", "us" =>"whois.nic.us", "uy" =>"nic.uy", "uz" =>"whois.cctld.uz", "va" =>"whois.ripe.net", "vc" =>"whois2.afilias-grs.net", "ve" =>"whois.nic.ve", "vg" =>"whois.adamsnames.tc", "wf" =>"whois.nic.wf", "ws" =>"whois.website.ws", "yt" =>"whois.nic.yt", "yu" =>"whois.ripe.net" ;
function LookupDomain($domain){ global $whoisservers; $whoisserver = ""; foreach($whoisservers as $tld=>$server) { if(substr($domain, -strlen($tld)) == $tld) { $whoisserver = $server; break; } } if(!$whoisserver) { return "Error: No appropriate Whois server found for $domain domain!"; } $result = QueryWhoisServer($whoisserver, $domain); if(!$result) { return "Error: No results retrieved from $whoisserver server for $domain domain!"; } else { while(strpos($result, "Whois Server:" !== FALSE){ preg_match("/Whois Server: (.*)/", $result, $matches); $secondary = $matches[1]; if($secondary) { $result = QueryWhoisServer($secondary, $domain); $whoisserver = $secondary; } } } return "$domain domain lookup results from $whoisserver server:\n\n" . $result; }
function LookupIP($ip) { $whoisservers = array( //"whois.afrinic.net", // Africa - returns timeout error :-( "whois.lacnic.net", // Latin America and Caribbean - returns data for ALL locations worldwide :-) "whois.apnic.net", // Asia/Pacific only "whois.arin.net", // North America only "whois.ripe.net" // Europe, Middle East and Central Asia only ); $results = array(); foreach($whoisservers as $whoisserver) { $result = QueryWhoisServer($whoisserver, $ip); if($result && !in_array($result, $results)) { $results[$whoisserver]= $result; } } $res = "RESULTS FOUND: " . count($results); foreach($results as $whoisserver=>$result) { $res .= "\n\n-------------\nLookup results for $ip from $whoisserver server:\n\n$result"; } return $res; }
function ValidateIP($ip) { $ipnums = explode(".", $ip); if(count($ipnums) != 4) { return false; } foreach($ipnums as $ipnum) { if(!is_numeric($ipnum) || ($ipnum > 255)) { return false; } } return $ip; }
function ValidateDomain($domain) { if(!preg_match("/^([-a-z0-9]{2,100})\.([a-z\.]{2,8})$/i", $domain)) { return false; } return $domain; }
function QueryWhoisServer($whoisserver, $domain) { $port = 43; $timeout = 10; $fp = @fsockopen($whoisserver, $port, $errno, $errstr, $timeout) or die("Socket Error " . $errno . " - " . $errstr); if($whoisserver == "whois.verisign-grs.com" $domain = "=".$domain; // whois.verisign-grs.com requires the equals sign ("=" or it returns any result containing the searched string. fputs($fp, $domain . "\r\n" ; $out = ""; while(!feof($fp)){ $out .= fgets($fp); } fclose($fp);
$res = ""; if((strpos(strtolower($out), "error" === FALSE) && (strpos(strtolower($out), "not allocated" === FALSE)) { $rows = explode("\n", $out); foreach($rows as $row) { $row = trim($row); if(($row != '') && ($row{0} != '#') && ($row{0} != '%')) { $res .= $row."\n"; } } } return $res; } ?> <html> <head> <title>Whois Lookup Script</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>
<body> <form action="<?=$_SERVER['PHP_SELF'];?>"> <p><b><label for="domain">Domain/IP Address:</label></b> <input type="text" name="domain" id="domain" value="<?=$domain;?>"> <input type="submit" value="Lookup"></p> </form> <? if($domain) { $domain = trim($domain); if(ValidateIP($domain)) { $result = LookupIP($domain); } elseif(ValidateDomain($domain)) { $result = LookupDomain($domain); } else die("Invalid Input!" ; echo "<pre>\n" . $result . "\n</pre>\n"; } ?> </body> </html>
|
Programming › Re: Web Tv Help by hakimade(op): 1:12am On Dec 24, 2008 |
Hello
i am the current webdesigner for a European television channel named Demtv. recently i was asked to give users a function which would allow them to watch the channel directly from the website. I have never done this before so I'm a complete newbie when it comes to streaming media online. could somebody please give me advice on what i should do? or at least where i should start from. if it is possible to stream from webcam to website Live is it possible to stream from Tv Tuner Card Live
Thanking you DemMedia |
Programming › Web Tv Help by hakimade(op): 11:10pm On Dec 23, 2008 |
Hello
i am the current webdesigner for a European television channel named Demtv. recently i was asked to give users a function which would allow them to watch the channel directly from the website. I have never done this before so im a complete newbie when it comes to streaming media online. could somebody please give me advice on what i should do? or at least where i should start from. if it is possible to stream from webcam to website Live is it possible to stream from Tv Tuner Card Live
Thanking you DemMedia |