thanks guys i got it to work by putting a .php3 at the end of the file and instead of doing echo = blah blah i simply did
echo blah;
i have another problem:
I've tried to use this code to return either true or false. but it keeps ending up has false even though the value i entered matches the condition.
PHP Code:
$screen_x=$_GET["sx"];
$screen_y=$_GET["sy"];
$version=$_GET["cur_version"];
$phone=$_GET["phone"];
$new_version="1.2";
$ok="OK";
$url="http.google.com";
if (strpos($phone, "Nokia") === true)
{
// check the version of the game
if ($version < $new_version)
{
echo $ok . " /> " . "\n";
echo $url . " />";
}
}
else if (strpos($phone, "Samsung") === true)
{
// check the version of the game
if ($version < $new_version)
{
echo $ok . " /> " . "\n";
echo $url . " />";
}
}
else
{
echo "Error" . "\n" ;
}
here is the link to the php file:
http://casino770.com/production_jon/...=1&phone=Nokia