Current location: Hot Scripts Forums » General Web Coding » JavaScript » multiple Text files to html.


multiple Text files to html.

Reply
  #1 (permalink)  
Old 06-12-03, 03:54 PM
andreas66 andreas66 is offline
Newbie Coder
 
Join Date: Jun 2003
Location: Rotterdam, The Netherlands
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
multiple Text files to html.

LS.

I hope someone can or could help me out.
I have implemented an sms receiver on my web server.
Now, i want the received sms's displayed on a webpage.
Te sms's come as plain text files with two lines,
the 1st line contains the mobile phone number
the 2nd line contains the text.
ex: +316xxxxxxxx
Hi there.
the names of te sms's files comes as date_#.sms
ex: 20030612_01.sms, 20030612_02.sms etc etc...

Now, i want the both lines with the date from all the sms's displayed on 1 html, with the newest on top.
I searched for a script (asp and java) which can do that for me server sided, but.... not found..

If someone could help i would be very gratefull.
it is for a non comercial webside involving Darts.
http://jam.whyi.org

Thx in advance.
André
__________________
It's nice to be important, but.....
It's more important to be nice !
Reply With Quote
  #2 (permalink)  
Old 06-13-03, 04:22 AM
Tesco Tesco is offline
ASP Guru
 
Join Date: Jun 2003
Location: UK
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
ASP can do it.

Using the File System Object, you can open the files (as if they were plain text), and display them how you wish within the page (or, on multiple pages).
Reply With Quote
  #3 (permalink)  
Old 06-13-03, 06:09 AM
andreas66 andreas66 is offline
Newbie Coder
 
Join Date: Jun 2003
Location: Rotterdam, The Netherlands
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally posted by Tesco
ASP can do it.

Using the File System Object, you can open the files (as if they were plain text), and display them how you wish within the page (or, on multiple pages).
Tnx, but... I am a hardware specialist, not a programmer...
Are there availlable asp scrips which i can use, a little modifications i can make, byt writing a script is somthing different
__________________
It's nice to be important, but.....
It's more important to be nice !
Reply With Quote
  #4 (permalink)  
Old 06-13-03, 06:33 AM
Tesco Tesco is offline
ASP Guru
 
Join Date: Jun 2003
Location: UK
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Off hand, I don't know. I'd write you one (as it is actually quite simple), but, I just don't have time atm

Maybe someone else can help you out..
Reply With Quote
  #5 (permalink)  
Old 06-13-03, 08:04 AM
andreas66 andreas66 is offline
Newbie Coder
 
Join Date: Jun 2003
Location: Rotterdam, The Netherlands
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
I have all the time in the world ,
I realy have no idea how to create an asp from scratch..
So, if you (if you have the time some moment) or another person could make a sample, so i can adjust it, i would be Very very very greatfull...
It hasn't have to be at no cost (not to expensive eighther.
So, if someone could help me out getting started this asp.....
__________________
It's nice to be important, but.....
It's more important to be nice !
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automated script to delete certain files shib_s Script Requests 3 08-03-06 05:28 PM
Placing Flash or Graphics INSIDE text using CSS and Style Filters and DHTML 000 CSS 1 09-03-03 01:43 PM
displaying all duplicate records in my table. dsumpter PHP 6 09-02-03 10:54 AM
Script for picking the first HTML file out of a directory (with sorted HTML files) jelteveld Script Requests 0 08-16-03 01:30 PM
replacing certain parts of certain strings in text files Archbob PHP 0 07-29-03 04:23 PM


All times are GMT -5. The time now is 11:08 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.