Forum Moderators: open
www.example.com/iowa.asp
www.example.com/florida.asp
www.example.com/texas.asp
So basically the pages will all generally look the same but the content will be different. Im not to sure if what Im asking is ridiculous but I figured their is some sort of app that can do this. Thanks
Here's an example ASP sub to create a file:
Sub CreateFile(strFilePath, strContent)
Dim fso
Dim txs
'overwrite file if it already exists
Const FILE_OVERWRITE = True
'setup filesystemobject
Set fso = CreateObject("Scripting.FileSystemObject")
'create new file and add content
Set txs = fso.CreateTextFile(strFilePath, FILE_OVERWRITE)
txs.Write strContent
txs.Close
'clean up
Set txs = Nothing
Set fso = Nothing
End Sub
So if you have all your data in a database, you could use ADO to loop through a data query and FSO to create a page for each record. HTH.