Posted By

dandyna on 09/06/06


Tagged

php image gallery


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

dandyna
visualAesthetic
vali29
willcodeforfood


Image gallery script: function.php file


 / Published in: PHP
 

URL: http://dandyland.org/code/image-gallery-script/

File function.php di una galleria di immagini in php - Function.php file to include in an image gallery php script

Directory structure:

Gallery(main directory) _admin.php _function.php _photo(directory) __image1.gif __image2.gif

  1. <?
  2. $cartella="photo";
  3. move_uploaded_file( $_FILES['documento']['tmp_name'],$cartella."/".$_FILES['documento']['name']);
  4. header("location:admin.php") //this permits to return to previous page
  5. ?>

Report this snippet  

You need to login to post a comment.