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

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

  • CyGuyCyGuy Posts: 312Member
    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
Sign In or Register to comment.