Guest

Untitled

By: a guest on Feb 12th, 2012  |  syntax: PHP  |  size: 0.39 KB  |  hits: 62  |  expires: Never
download  |  raw  |  embed  |  report abuse
This paste has a previous version, view the difference. Copied
  1. <?
  2. if($this->user->user_exists == 1 && $this->user->user_info['premium'] == 1 && $this->user->user_info['premium_active'] == 1) {
  3.  
  4. $site_url = $this->config['site_url'];
  5. $file_id = $this->file['file_id'];
  6. $time = time();
  7. $file_name = $this->file['file_name'];
  8.  
  9. $url = $site_url."/get/".$file_id."/".$time."/".$file_name;
  10.  
  11. header('Location: '.$url);
  12.  
  13. } else {
  14. ?>
  15. bucnha crap
  16.  
  17. <?php } ?>