HELP! Convert to Classic ASP?
Posted: Mon Dec 06, 2010 3:00 pm
Can anyone please convert this to classic ASP please? I would surely appreciate it. as it is, I know nothing about PHP, this, I wish I could do as easily as some of you guru's. 
Code: Select all
<?php
$GAME_VERSION = 1; //Please use int only: 1,2,3,4)
$platform = $_POST['platform'];
$clientsversion = $_POST['clientsversion'];
if($platform=='WindowsEditor' || $platform=='WindowsPlayer'){
$downlink= 'http://www.MYWEBSITE.com/LatestWindowsUpdate.zip';
}else if($platform='OSXEditor' || $platform='OSXPlayer' ){
$downlink= 'http://www.MYWEBSITE.com/LatestMacUpdate.zip';
}else{
echo 'Invalidplatform!';
exit();
}/
/Format:VERSION#FORCEUPDATE#DOWNLOADLINK#DISABLEDLI
//Version: version info // Forceupdate: Leave this to 0 (ALWAYS update)
//DownloadLink; the link to the .zip for this platform
//DisabledLink: Used when i.e. the patcher would need to be updated.
// Asks the user to visit this link with explanation. Leave this blank otherwise!
echo "$GAME_VERSION#0#$downlink##";
?>