home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 October
/
Chip_2001-10_cd1.bin
/
tema
/
global
/
overenie2.php
< prev
next >
Wrap
PHP Script
|
2001-05-20
|
631b
|
23 lines
<?php
if(isset($result)) {
switch($result) {
case '0': echo "domena je volna";
break;
case '1': echo "domena je obsadena";
break;
default: echo "chyba pri overovani";
}
die;
}
if(isset($Submit)) {
$cesta = "http://www.yegon.sk/webpartner/checkdomain.phtml?domain=$domain&country=$country&return=http://$HTTP_HOST$REQUEST_URI";
header("Location: $cesta");
die;
}
?>
<form action="<?php echo "http://$HTTP_HOST$REQUEST_URI"; ?>" method="post">
<input type="text" name="domain">.<input type="text" name="country" size="5"><br>
<input type="submit" name="Submit">
</form>