GithubHelp home page GithubHelp logo

wootty-it / system_repaire_mssql Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aka1526/system_repaire_mssql

0.0 1.0 0.0 23.91 MB

system_repaire_mssql

License: MIT License

PHP 2.73% JavaScript 77.37% Hack 0.05% CSS 6.32% HTML 13.52% Makefile 0.01% Shell 0.01%

system_repaire_mssql's Introduction

Introduction

PHP_MSSQL_PDO

โปรแกรมที่จำเป็นต้องใช้สำหรับ Database Mssql

  • xampp-windows-x64-7.4.1-0-VC15-installer
  • Driver php_pdo_sqlsrv ==> Windows-7.4 file php_pdo_sqlsrv_74_ts.dll
    copy to C:\xampp\php\ext ขึ้นอยู่กับว่าใช้ x86 หรือ 64

php.ini open extension for Mysql Database

  • extension=pdo_mysql # For mysql
  • short_open_tag = On

file php.ini open extension for Ms sql Database

  • extension=php_pdo_sqlsrv_74_ts.dll # For ms sql
  • short_open_tag = On

Database file

  • database_mysql==> Database Mysql
  • database_mssql ==> Database MS sql V.2016

file config.php

  • $_svhost="sqlsrv"; Database MS sql
  • $_svhost="mysql"; Database mysql

examples for db Mysql

$_svhost="mysql"; if($_svhost=="sqlsrv"){ $db_config = array( "DB_type" => "sqlsrv", "DB_host" => "xxxxx", "DB_name" => "system_repair", "DB_user" => "xxx", "DB_pass" => "xxx", "DB_charset" => "utf8", ); }else{ $db_config = array( "DB_type" => "mysql", "DB_host" => "127.0.0.1", "DB_name" => "system_repair", "DB_user" => "root", "DB_pass" => "", "DB_charset" => "utf8", ); }

examples for db Ms sql

$_svhost="sqlsrv";
if($_svhost=="sqlsrv"){

$db_config = array(
	"DB_type" => "sqlsrv",
    "DB_host" => "xxxxx",
    "DB_name" => "system_repair",
    "DB_user" => "xxx",
    "DB_pass" => "xxx",
    "DB_charset" => "utf8",
);

}else{

$db_config = array(
    "DB_type" => "mysql",
    "DB_host" => "127.0.0.1",
    "DB_name" => "system_repair",
    "DB_user" => "root",
    "DB_pass" => "",
    "DB_charset" => "utf8",
);

}

LOGIN using

username: admin password: 123456

*********************** Screenshot *******************************************

GitHub Logo GitHub Logo GitHub Logo GitHub Logo GitHub Logo GitHub Logo GitHub Logo GitHub Logo GitHub Logo

Build Status npm version Packagist CDNJS

system_repaire_mssql's People

Contributors

aka1526 avatar

Watchers

 avatar

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.