We Recommend

Wicked Cool PHP: Real-World Scripts That Solve Difficult Problems Wicked Cool PHP: Real-World Scripts That Solve Difficult Problems
Wicked Cool PHP contains a wide variety of scripts to process credit cards, check the validity of email addresses, template HTML, and serve dynamic images and text.


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:

  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.