Đ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 nhiều hơn: 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

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

ID dự án: #1757787