5 Replies - 547 Views - Last Post: 24 May 2012 - 04:38 AM

#1 infantheartlyjes  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 27-October 11

Html with textfile

Posted 24 May 2012 - 03:51 AM

My html should display the Contents of Textfile which is located in the local Machine . Is there any code available?
Is This A Good Question/Topic? 0
  • +

Replies To: Html with textfile

#2 Dormilich  Icon User is online

  • 痛覚残留
  • member icon

Reputation: 3554
  • View blog
  • Posts: 10,333
  • Joined: 08-June 10

Re: Html with textfile

Posted 24 May 2012 - 03:58 AM

no.

HTML can only display whatís given in the HTML code (including images, and such)

if you want to read a text file on a local computer, you need a programming language with access permission to the local file system.
Was This Post Helpful? 0
  • +
  • -

#3 infantheartlyjes  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 27-October 11

Re: Html with textfile

Posted 24 May 2012 - 04:20 AM

View PostDormilich, on 24 May 2012 - 03:58 AM, said:

no.

HTML can only display whatís given in the HTML code (including images, and such)

if you want to read a text file on a local computer, you need a programming language with access permission to the local file system.


Ok. Then any Java Script Code Available to do this task?
Was This Post Helpful? 0
  • +
  • -

#4 Dormilich  Icon User is online

  • 痛覚残留
  • member icon

Reputation: 3554
  • View blog
  • Posts: 10,333
  • Joined: 08-June 10

Re: Html with textfile

Posted 24 May 2012 - 04:21 AM

depends on the circumstances. normally, JS does not have permission to access the client file system.
Was This Post Helpful? 0
  • +
  • -

#5 infantheartlyjes  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 27-October 11

Re: Html with textfile

Posted 24 May 2012 - 04:37 AM

View PostDormilich, on 24 May 2012 - 04:21 AM, said:

depends on the circumstances. normally, JS does not have permission to access the client file system.

Is there any other Scripting Languages with those permissions?
Was This Post Helpful? 0
  • +
  • -

#6 Dormilich  Icon User is online

  • 痛覚残留
  • member icon

Reputation: 3554
  • View blog
  • Posts: 10,333
  • Joined: 08-June 10

Re: Html with textfile

Posted 24 May 2012 - 04:38 AM

I donít know, but I only know a hand full of languages at all.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1