Whois"; $back = ""; include("config/connection.php"); include("header.php"); /* File: whois-example.php Purpose: heavily commented example of using the sams whois php scripts to include a whois lookup service on your own website. Copyright (c) 2004, 2008 Sam Yapp http://www.phpace.com/scripts/sams-whois Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Read the comments and change the variables to alter the behaviour of the SamsWhois script. */ /* To Require the user to enter a randomly generated "security" code for each lookup set $swSecure = true; This works by generating a random code each time the lookup form is displayed, storing it in a session variable, displaying an image containing the code and asking the user to enter the code displayed when they submit the lookup form. The code they enter is then compared with the generated code and if they match, then the lookup is done. Its purpose is to stop people from abusing your whois lookup script through scripting 100's or 1000's of lookups per minute, and possibly getting you banned for excessive lookups. You MUST uncomment the code "session_start();" code for this to work. You MUST upload the swsecureimage.php file to your document root (so it can be accessed at http://www.yoursite.com/swsecureimage.php). This is the file that generates the image. Your server MUST have the php gd image module active for this to work. You MUST make sure that the $m_font variable contains the FULL path to the ttf font to use to create the image. By default, a font should be included with this script and this variable should already be set for you. Additional options (font, size, number of characters, whether to use lower and upper case characters, and settings for the extra paranoid can be modified by editing the variables at the top of the secureimagecode.class.php file. */ /* you line below must be uncommented if using the secure code image option */ //session_start(); $swSecure = false; /* Whois lookup result caching. Set $swCacheLifetime to a positive integer to cache the results of each lookup that number of minutes. When caching is turned on, the script stores the whois data obtained from each lookup for the specified number of minutes. If a user tries to lookup the domain within the cache lifetime, the stored data is displayed instead of the script looking up the domain again. The benefits of this are less usage of your server's resources and bandwidth, as well as less queries to the whois servers. The folder /samswhois/cache MUST have the correct permissions for the script to create files in it. */ $swCacheLifetime = 0; /* "Cleaning" whois output. Removes extraneous text from the whois result. This will only make a difference for results from whois servers that the /samswhois/config.txt file contains a cleanup setting for. Possible options for $swClean are: $swClean = 'off'; Display the whois data "as-is". $swClean = 'on'; Always remove extraneous text from the whois result. $swClean = 'optional'; Allow the user to turn cleaning on or off via a checkbox. */ $swClean = 'off'; /* Hi-lighting specific rows in the whois data, eg. expiration date, status, etc. This only hilights the results if the /samswhois/config.txt file contains hilite settings for that whois server. Possible values for $swHilite are: $swHilite = 'off'; No hilighting. $swHilite = 'on'; Always hilight results. $swHilite = 'optional'; Let the user check a checkbox if they want to use hi-lighting. */ $swHilite = 'off'; /* Check authorative server for .com & .net domains. Set $swAuth = true; to check the authoriative whois server for domains in the com and net extension. Set $swOnlyShowAuth = true; to only display the result from the authoritative server, not the registry server in cases where it is available. */ $swAuth = true; $swOnlyShowAuth = false; /* Tld options: Limit the tlds that the script will do whois lookups for by setting the $swTlds variable to a comma separated list of tlds to accept, eg. $swTlds = 'com,net,org'. Setting $swTlds = '' will result in the script looking up all the tlds defined in the /samswhois/config.txt file. Set $swListTlds = true; to list the tlds supported underneath the form. Set $swTldOptions = true; to let the user select the tld to lookup from a drop-down



N'oubliez pas l'extension de votre choix .com, .ch, etc Effectuez une autre recherche :




N'oubliez pas l'extension de votre choix .com, .ch, etc


$nomdomaine est déjà pris, voici le détail pour ce domaine :
"; print "
\n";
 		echo $result;
 		print "
"; } else { echo "$nomdomaine est DISPONIBLE !
Commandez-le avec un hébergement avant qu'il ne soit pris !
Commandez-le avec un package complet avant qu'il ne soit pris !"; }*/ /*} ?>
Nom de domaine
Vérifiez si le nom de domaine que vous désirez est encore libre!




N'oubliez pas l'extension de votre choix .com, .ch, etc