source: lliurex-jocomunico/trunk/fuentes/lliurex-jocomunico.install/var/lib/img/upload.php @ 5728

Last change on this file since 5728 was 5728, checked in by joamuran, 2 years ago

Added zero-installed and updated jocomunico

File size: 195 bytes
Line 
1<?php
2
3  $target_dir = "../img/";
4  $target_file = $target_dir . basename($_FILES['file']['name']);
5  var_dump($_FILES);
6
7  move_uploaded_file( $_FILES['file']['tmp_name'] , $target_file );
8
9
10?>
Note: See TracBrowser for help on using the repository browser.