Thread View: free.it.web.aruba
1 messages
1 total messages
Started by Raffaele Fosco
Wed, 28 Mar 2007 16:55
Permission denied su cartella public
Author: Raffaele Fosco
Date: Wed, 28 Mar 2007 16:55
Date: Wed, 28 Mar 2007 16:55
28 lines
2021 bytes
2021 bytes
Ciao a tutti,
qualcuno mi sa spiegare come mai questo codice mi d� sempre il solito
errore:
Microsoft JScript runtime error '800a0046
Permission denied
/cancellafoto.asp, line 8
il codice � il seguente:
..................................................................
<%@LANGUAGE = JScript%>
<%
foto=Request.QueryString("foto")
fotomini=Request.QueryString("fotomini")
var FSO = new ActiveXObject("Scripting.FileSystemObject");
if (FSO.FileExists(Server.MapPath("/public/image/" +foto)))
{
var cancella = FSO.DeleteFile(Server.MapPath("/public/image/"+ foto));
}
if (FSO.FileExists(Server.MapPath("/public/image/" + fotomini)))
{
var cancella = FSO.DeleteFile(Server.MapPath("/public/image/" +
fotomini));
}
%>
......................................................................
Grazie a chi mi pu� gentilmente dare qualche aiuto.
Raffaele
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads