to read from a file and compare with input values

[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

  • 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.

Howdy, Stranger!

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

Categories

In this Discussion