Skip to content

Commit 6eb7271

Browse files
committed
improved examples
1 parent a70bce0 commit 6eb7271

File tree

5 files changed

+11
-31
lines changed

5 files changed

+11
-31
lines changed

auth.php

Lines changed: 0 additions & 31 deletions
This file was deleted.

auth_example.php renamed to examples/auth.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,14 @@
99
} else {
1010
header('HTTP/1.0 403 Forbidden');
1111
}
12+
13+
include "api.php";
14+
15+
$api = new SQLSRV_CRUD_API(array(
16+
'hostname'=>'(local)',
17+
'username'=>'',
18+
'password'=>'',
19+
'database'=>'xxx',
20+
'charset'=>'UTF-8'
21+
));
22+
$api->executeCommand();
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)