I need to write asp code in a text file ( .txt extension) . How do i make it work? Thanks in advance.
You can use notepad to write the code and save the textfile as .asp or .txt for safekeeping. If you are asking how to write asp code. I suggest you get lessons.
if i write asp code in a file with .txt extension it just shows the asp code when i call the file in a browser. i need a way to make asp engine parse the text file as asp file. i know i can set the option from iis administrative panels - but assuming i do not have acces to the web server, how to do this ? hope i have made myself clear...
If you include the file you can use any extension however your calling page will need to be .asp (or any other extension registered to the asp application). However it is HIGHLY recommended that all your files use the asp extension to minimise the risk of code exposure. Even include files should use the asp extension to ensure that is a user discovers the file they cannot see the code inside.
Yep, putting ASP code in txt file seems like a silly idea due to code exposure. If you want to use different extension for your include files, use .inc.asp or .txt.asp instead. Regards
u can use some free URL Rewriting dlls, but you should ask ur host provider to install it on the server