6915 Tap text file on server

I currently have a system that checks a user's personal ID number (PIN) from a MySQL database. I'd like to switch that to checking a text file on the server (a simple one-row-per-PIN setup) to make it easier to modify and run multiple projects at once. The code currently is (stripped of semicolons) mysql_connect('localhost','database','password') or die(mysql_error()) mysql_select_db('table') $sqlCheckDB = mysql_query("SELECT count(HPIN) AS valid FROM hpin WHERE HPIN = '$_POST[pin]'") or die(mysql_error()) $numCheck = mysql_fetch_array($sqlCheckDB) Would appreciate speed in reply. Thanks.

Taidot: kaikki käy, PHP

Näytä lisää: the tap, text file, tap, file server, php localhost, setup mysql server, text row, text table, row text php, mysql_connect, php file multiple, pin code number, php select file server, user text, php file server, tap tap, stripped, password file, pin mysql, simple file system, file system simple, pin database, code simple server, server text, text select php

Tietoa työnantajasta:
( 31 arvostelua ) Teaneck, United States

Projektin tunnus: #1757787