Return to Snippet

Revision: 1061
at September 6, 2006 10:20 by dandyna


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

Revision: 1060
at September 6, 2006 10:13 by dandyna


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

Revision: 1059
at September 6, 2006 10:08 by dandyna


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

Revision: 1058
at September 6, 2006 10:06 by dandyna


Initial Code
<? 
$cartella="photo";
move_uploaded_file( $_FILES['documento']['tmp_name'];
$cartella."/".$_FILES['documento']['name'];
?>

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

Initial Description
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

Initial Title
Image gallery script: function.php file

Initial Tags
php, image

Initial Language
PHP