Web Development Thread, Pull text from txt document into website? in Coding and Web Development; Chaps,
anyone know if this is possible?
I was wanting some admin staff to be able to put an update ...
-
8th November 2007, 11:05 AM #1
- Rep Power
- 14
Pull text from txt document into website?
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!
-
-
IDG Tech News
-
8th November 2007, 11:09 AM #2 Re: Pull text from txt document into website?
Put anywhere outside of ASP <% and %> code markers:
-
-
8th November 2007, 11:13 AM #3 Re: Pull text from txt document into website?
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.
-
-
8th November 2007, 11:18 AM #4 Re: Pull text from txt document into website?
In PHP:
Code:
<?php
include("/path/to/document.txt");
?> See also: fead().
-
-
8th November 2007, 11:20 AM #5 Re: Pull text from txt document into website?
-
-
8th November 2007, 01:11 PM #6
- Rep Power
- 14
Re: Pull text from txt document into website?

Originally Posted by
webman Put anywhere outside of ASP <% and %> code markers:
Cheers webman, didn't realise it would be that simple!
-
SHARE:
Similar Threads
-
Replies: 26
Last Post: 30th November 2007, 11:32 AM
-
By robert.mabbutt in forum Hardware
Replies: 6
Last Post: 17th April 2007, 07:17 AM
-
By timbo343 in forum Windows
Replies: 2
Last Post: 21st December 2006, 02:24 PM
-
By ICTNUT in forum Windows
Replies: 7
Last Post: 28th May 2006, 02:50 PM
-
By NetworkGeezer in forum Networks
Replies: 2
Last Post: 16th March 2006, 08:16 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules