questo è il codice di freeasp di html.it
perchè non funziona + in win2003?
questo è il miocodice:<html> <head> <title>file_e_directory</title> </head> <body> <% dir="/nome directory" Set file1 = CreateObject("Scripting.FileSystemObject") Set file2 = file1.GetFolder(server.mappath("nome directory")) Set file3 = file2.Files For Each file in file3 response.write "<A HREF='" response.write file.name response.write "'>" response.write file.name response.write "</A> " Next %> </body> </html>
codice:<html> <head> <title>file_e_directory</title> </head> <body> <% Set file1 = CreateObject("Scripting.FileSystemObject") Set file2 = file1.GetFolder(server.mappath("/dbase/img/")) Set file3 = file2.Files For Each file in file3 response.write "<A HREF='" response.write file.name response.write "'>" response.write file.name response.write "</A> " Next %> </body> </html>

Rispondi quotando