ragazzi ciao avrei bisogno un vostro aiuto vi spiego io dovrei trovare di uno script per la ricerca dei nomi a dominio la variabile che da il risultato disponibile e non disponibile la frase disponibile e una costante
Codice PHP:
define('AVAILABLE_TEXT', 'Disponibile'); // Text displayed if the domain is available
define('NOT_AVAILABLE_TEXT', 'Non disponibile'); // Text displayed if the domain is not available
inoltre lo script a la possibilita di essere inpostato in tre maniere io sto usando la terza
Codice PHP:
include_once ("mrwhois_config.php");
include_once (FILE_NAME_LANGUAGE);
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<? echo META_CHARSET; ?>">
<meta http-equiv="Content-Language" content="<? echo META_LANGUAGE; ?>">
<title><? echo PAGE_TITLE_META; ?></title>
<link href="<? echo FILE_NAME_STYLE; ?>" rel="stylesheet" type="text/css">
<script type=text/javascript>
var win= null;
function NewWindow(mypage,myname,w,h,scroll)
{
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/2;
var settings ="height="+h+",";
settings +="width="+w+",";
settings +="top="+wint+",";
settings +="left="+winl+",";
settings +="scrollbars="+scroll+",";
settings +="resizable=yes";
win=window.open(mypage,myname,settings);
if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}
</script>
</head>
<?
posto il seguito nel altra risposta