Says it all in the title really!<BR><BR>Just want to know how to put the contents of a text file into a variable using ASP.<BR><BR>Cheers.
open google<BR><BR>look for something about the fso...<BR><BR>better yet<BR>look at the faq<BR>http://www.aspfaqs.com/aspfaqs/ShowCategory.asp?CatID=4
Thanks for that.<BR><BR>However, the file I am trying to put into a variable is an XML file and for reason when I use this method it it strips out all the XML code.<BR><BR>Any ideas?
Yes, research this and you will find how to get the text into the variable.<BR><BR>Server.CreateObject("Microsoft.XM LDOM")
post this in the XML forum. Just make sure you post a link to this thread so they know you are aware of the cross-post.