03132008 1534 GMT-6

Im having a bit of trouble with this.

This is part of a page that grabs backup data and puts it in a <option> 
for a <select>. This works great on my linux system but wont work at all 
on the windows server its running on.

The row with the arrow out to the right, there isnt anything wrong with 
that on windows is there?

$backupDir = "monthlybackup";

if(isset($_POST['getbackupfile'])){
   if($_POST['backupfileName'] == "dailynoaareport.htm"){
     $lines = file("dailynoaareport.htm");
   } else {
     $lines = file($backupDir.'/'.$_POST['backupfileName']);  <-----
   }    
} else {
   $lines = file("dailynoaareport.htm");
}       


Wade

Reply via email to