HTML & WEB-Design

Moderators: Jonathan
Number of threads: 1253
Number of posts: 3360

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
to read from a file and compare with input values Posted by ravi18s on 14 May 2009 at 4:26 AM
Hello to all,
I had a form in which there are two fields lets say username and password. This form is hosted in htdocs directory in apache.
I had a text file in which username and password are written in the following manner
-----abc.txt-------
rajahs|jklabfl
ranihs|lkjadlh
-------------------
So I want to compare these two fields with the data in text file using javascript. Please suggest through some code.
Thanks to all.

Report
Re: to read from a file and compare with input values Posted by CyGuy on 18 May 2009 at 1:22 AM
Are you running jScript on Apache? I would like to see that, because javaScript is a client language. It doesn't run on the server



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.