Halfmad Posted November 8, 2007 Posted November 8, 2007 Chaps, anyone know if this is possible? I was wanting some admin staff to be able to put an update on the internal site by editing a text file - which would then be read by the site and incorporated into it. Running IIS6 with ASP etc. Nothing fancy. If it's a huge job I won't bother, I can't have them editing the pages directly as they quite simply just mess up too often!
webman Posted November 8, 2007 Posted November 8, 2007 Put anywhere outside of ASP <% and %> code markers:
tomscaper Posted November 8, 2007 Posted November 8, 2007 Does anyone know the equivalant for reading a txt file as i would like to dome something like this with our admin staff, but using php and mysql.
webman Posted November 8, 2007 Posted November 8, 2007 In PHP: include("/path/to/document.txt"); ?> See also: fead().
Halfmad Posted November 8, 2007 Author Posted November 8, 2007 Put anywhere outside of ASP <% and %> code markers: Cheers webman, didn't realise it would be that simple!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now