| [ Index ] |
PHP Cross Reference of GASELL SVN Trunk |
[Summary view] [Print] [Text view]
1 <?php 2 3 require_once ("lib/DownloadUtils.php"); 4 global $cPage; 5 6 if(isset($_GET['name']) && !empty($_GET['name'])) 7 { 8 9 /* ADD ONE TO THE COUNTER */ 10 addOneDownload($_GET['name']); 11 12 /* START THE DOWNLOAD */ 13 header("Location:download/".$_GET['name']); 14 } else { 15 /* REDIRECT TO THE REFERER */ 16 if(isset($_SERVER['HTTP_REFERER']) && !empty($_SERVER['HTTP_REFERER'])) 17 header("Location:".$_SERVER['HTTP_REFERER']); 18 else 19 header("Location:".$cPage->getConfig('URL','base')); 20 } 21 22 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Tue Jan 6 01:17:25 2009 | Cross-referenced by PHPXref 0.7 |