i have netbeans 6.8 with all bundle faetures.
now i m running my php file
Binary Search
h1 {color: blue}
Computer guess number by using binary search
Input your hidden number: (1-99)
Here;
}
else
{
if ($max_num==-1 && $min_num==-1)
{
$max_num = 100;
$min_num = 0;
$result_num = $hid_num;
}
else
{
if ($comparision == "bigger")
{
$min_num = $guess_num;
}
else if ($comparision == "smaller")
{
$max_num = $guess_num;
}
}
$guess_num = ($max_num + $min_num)/2;
setType($guess_num,"integer");
print "Computer guess $guess_num ";
if ($guess_num == $result_num)
{
$flag_num = -1;
}
if ($flag_num == -1)
{
print
Congratulation, Computer win
"
Here;
}
else
{
print
Your intruction: Bigger
Smaller
Here;
}
}
?
but the erreor coming in the "HTTP 404 NOT FOUND"
I THINK SERVER HAS BEEN NOT BEEN SET.SO WHAT SHOULD I DO TO RUN IT