Đang Thực Hiện

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.

Kỹ năng: Bất kì công việc gì, PHP

Xem thêm: the tap, text file, tap, file server, php localhost, setup mysql server, text row, text table, row text php, php file multiple, pin code number, php select file server, user text, php file server, stripped, pin mysql, simple file system, file system simple, pin database, code simple server, server text, text select php, speed mysql server, simple text table, setup file

Về Bên Thuê:
( 31 nhận xét ) Teaneck, United States

Mã Dự Án: #1757787