Coder Social home page Coder Social logo

sn_register's Introduction

SERIAL NUMBER REGISTRATION

This is a series of php files that allows users to add and search companies and products they've purchased.

Key files

PHP

  • index.php is the main page where the user inserts company name, products and its serial numbers.
  • info.php contains the credential for MySQL database.
  • query.php inserts new entries.
  • modify.php records every modification.
  • search.php search with keyword or by date.
  • search__query.php contains search SQL and saves to session.
  • sn_track.sql is a template for database in MySQL.

MySQL

sn_track.sql has three main tables: hdd, dvr, orders, and serial_log.

hdd contains id, uid, hdd, and hdd_serial.

dvr contains id, invoice, dvr_model, dvr_serial.

orders contains id, invoice, company, year month, day and time.

Prerequisites

It was tested on Ubuntu 16.04.3 LTS, PHP 7.0.22, Apache 2.4.18, and MySQL 14.14 Distrib 5.17.19.

PHP7 Modules

[PHP Modules]

calendar Core ctype date dom exif fileinfo filter ftp gd gettext hash iconv json libxml mbstring mcrypt mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql Phar posix readline Reflection session shmop SimpleXML sockets SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter xsl Zend OPcache zlib

[Zend Modules]

Zend OPcache

Installation

Copy files to root directory for web server(/var/www is default for ubuntu).

Import sn_track.sql to empty mysql database and change info.php accordingly.

Things to do

  • Implement AJAX for nav and sql results
  • Improve search with more than one categories.

Laravel

Laravel version is on eako0508/sn_register_laravel

Author

Eugene Ko

sn_register's People

Contributors

eako0508 avatar mnyon-grandkru avatar

Watchers

 avatar

Forkers

trystant

sn_register's Issues

Implement AJAX for nav and sql results

Currently, the whole page refreshes every time the query is called in general.
It is necessary to make the page asynchronous so the page doesn't refresh every time a button is clicked.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.