View Single Post
Old 12-13-2008, 08:38 AM   #82
rctneil
Registered
 
Join Date: Jul 2008

Posts: 239
Question

For an example of my earlier idea. If the iste is written using some PHP then you could do something as simple as this:

$latest_version = '3.4';

if (isset($_GET['user_version'])) {
$user_version = $_GET['user_version'];
if ($user_version < $latest_version) {
echo 'You are running version '.$user_version.'. An update to version '.$latest_version.' is available. Click here to download it';
} else {
echo 'You are running version '.$user_version.'. This is already the latest version of MA3!';
}
} else {
echo 'An error has occured. Please try again';
}
?>


That code should work for an address such as http://www.marineaquarium3.co.uk/che...user_version=3

I hope that I have helped slightly

Thanks

Regards,
Neil
rctneil is offline   Reply With Quote