<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Upload - Sistema By Wiliam</title>
<style type="text/css">
<!--
a:link {
color: #000;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #000;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
body {
background-color: #FFF;
}
-->
</style></head>
<link rel="stylesheet" href="estilo.css">
<body>
<form action="upload.php" method="post" enctype="multipart/form-data">
<table width="375" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<input type="file" name="arquivo"> </td>
</tr>
<tr>
<td>
<input type="submit" value="Enviar">
</td>
</tr>
</table>
</form>
</body>
</html>
<html>
<head>
<title>UPLOAD</title>
<style type="text/css">
<!--
body {
background-color: #FFF;
}
-->
</style></head>
<body>
<?php
if (isset($arquivo))
{
$nome = rand(00,9999);
$dir="up/";
if (is_uploaded_file($arquivo))
{ move_uploaded_file($arquivo,$dir.$nome.$arquivo_name);
echo "Enviado com sucesso.";
}else{
echo "Erro ao tentar enviar arquivo.";
}
}
?>
</body>
</html>
<form action="<span style="text-decoration: underline;"><em><strong>upload.php</strong></em></span>" method="post" enctype="multipart/form-data">
Bom é isso ai pessoal. Que DEUS esteja com todos vocês.
Creditos pelo sistema: Wiliam <- Eu
Creditos pelo tutorial: Wiliam
Site: www.alucinadosmuonline.com
Acessem meu portal de mu online é isso ai pessoal to indo fui.

![]() |
CodigoFonte.net » CodigoFonte.eti.br » Compre De Tudo » Meu Mural » Competiva - Criação de Sites » Todos os Direitos Reservados © 2002/2010 |
Procurando Notebooks, Câmeras Digitais, iPhones?