to read from a file and compare with input values - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

to read from a file and compare with input values

ravi18sravi18s Posts: 1Member
[size=2][color=Blue]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.[/color][/size]

Comments

Sign In or Register to comment.