AVEA HTTP RFID WEB READER SAMPLE CODES

with No Comments

AVEA HTTP RFID WEB READER SAMPLE CODES <html> <body> <?php // setup variables $cmd=$_GET[“cmd”]; $mode=$_GET[“mode”]; $code=$_GET[“code”]; $now=time(); // stamp the current time $st=date(‘Y-m-d H:i:s’,$now); // set the datetime string to correct format $mycard=359452; // replaced by your card number $rtime=$date … Read More

Example code for LAMP server (mf-web08s)

with No Comments

The following example script assuming the database “dbname” has a table “dbtable” with fields for storing uid, date, time, and system datetime.<?php $db_host=”localhost”; $db_user=”dbuser”; $db_pwd=”dbpassword”; $db_name=”dbname”; $db_table=”dbtable”; if (!mysql_connect($db_host,$db_user,$db_pwd)) {  die( “Unable to connect host”); } if (!mysql_select_db($db_name)) {  die( … Read More

1 2 3 4 9