topical media & game development 
  
 
 
 
 
  
    
    
  
 mashup-flickr-13-Complete-gallery-doReplace.php / php
  <?php 
  include (dirname(__FILE__) . '/../lib/gallery.php');
  gallery->authenticate("write");
  if (!gallery->error("You do not have permission to replace photos for this account");
  }
  
  _REQUEST['id'];
  if (!empty(size = filename = filename) && is_uploaded_file(size > 0)
    {
      gallery->replacePhoto(id);
    }
  }
  
  header('Location: http://' . _SERVER['PHP_SELF']) 
    . '/index.php');
   ?>
  
  
  
(C) Æliens 
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. 
In case of other copyright issues, contact the author.