Jump to content

cainfool

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

cainfool's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Delete that server. Use: <?php // List of whois servers $serverList[0]['top'] = 'com'; $serverList[0]['server'] = 'whois.crsnic.net'; $serverList[0]['response'] = 'No match for'; $serverList[0]['check'] = true; $serverList[1]['top'] = 'net'; $serverList[1]['server'] = 'whois.crsnic.net'; $serverList[1]['response'] = 'No match for'; $serverList[1]['check'] = false; $serverList[2]['top'] = 'org'; $serverList[2]['server'] = 'whois.publicinterestregistry.net'; $serverList[2]['response'] = 'NOT FOUND'; $serverList[2]['check'] = false; function checkDomain($domain,$server,$findText){ // Open a socket connection to the whois server $con = fsockopen($server, 43); if (!$con) return false; // Send the requested doman name fputs($con, $domain."\r\n"); // Read and store the server response $response = ' :'; while(!feof($con)) { $response .= fgets($con,128); } // Close the connection fclose($con); // Check the response stream whether the domain is available if (strpos($response, $findText)){ return true; } else { return false; } } function showDomainResult($domain,$server,$findText){ if (checkDomain($domain,$server,$findText)){ echo "<tr><td>$domain</td><td>AVAILABLE</td></tr>"; } else echo "<tr><td>$domain</td><td>TAKEN</td></tr>"; } ?>
  2. But when somebody sends you a PayPal Donation, all the details come to your Profile e-Mail address.
  3. Hi, I know i'm probably in the wrong forum but I didn't see a "php help". I've seen websites have for eg. my-ultracooldomain.com/index.php?page=coolio I'm not completely sure how they do that, but I know it has PHP involved, and its all in one file. If somebody could give me a example code, it would be fantastic - I'm only new to the forum, and PHP.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.