note 15253 deleted from function.copy by jimw
| From: | jimw@php.net | Date: | Fri, 07 Dec 2001 02:11:59 +0000 |
| Subject: | note 15253 deleted from function.copy by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-21809@lists.php.net to get a copy of this message | ||
Welcome...Veja como facilismo pra vc bem entender, como funcionamento COPY :)
Crie ENVIAR.PHP
<?
$arquivo = $HTTP_POST_FILES['arquivo']['name'];
$temp = $HTTP_POST_FILES['arquivo']['tmp_name'];
if ($arquivo) copy($temp, "".$arquivo);
?>
<form enctype='multipart/form-data' action=<? echo $PHP_SELF ?> method=post>
Enviar de arquivo: <input name='arquivo' type='file'>
<input type='submit' value='Enviar'>
</form>
--------------------------------------
Sandro(DarkRider)
Webmaster & Tecnico de Informatica
Alvares Software in Brazil
http://www.alvaresoft.cjb.net
sandro@alvaresoft.cjb.net
ICQ #57100004