For a guide to the choosing ASP or PHP, click here
Home >> Text Files >> Copying a File This code shows how to easily copy a file
<% ' declare our variables dim fso dim oldFile dim newFile oldFile = "Filename.txt" newFile = "NewFile.txt" Set fso = CreateObject("Scripting.FileSystemObject") fso.CopyFile oldFile, newFile Set fso = nothing ' Filename.txt should have been copied to NewFile.txt ' warning: if there already was a NewFile.txt it will ' be written over by Filename.txt %> What is ASP?
What is PHP?