About
Careers
Support
Partners
Community
Contact
Product
Overview
IT Discovery
IT Inventory
IT Analytics
Features
Integrations
Use Cases
IT Asset Management
Cybersecurity
Active Directory Audit
Installing Software & Patches
Automated IT Inventory
Pricing
Resources
Support Knowledge Base
Videos
Testimonials
Vulnerability Updates
Patch Tuesday
Blog
Free Download
Lansweeper
»
General chat
»
DbConnection with php
Active Topics
Search
Join Now
Login
Notification
Error
OK
DbConnection with php
Posted:
Thursday, July 8, 2021 4:24:32 PM(UTC)
CED-TQ
Member
Original Poster
Posts: 1
0
Like
Is there anyone who has developed a web interface in php to access the database?
I'm trying to log in like this:
$ serverName = "svr.domain \ SQLEXPRESS";
$ connOptions = array ("UID" => "XXX", "PWD" => "XXX", "Database" => "lansweeperdb");
$ conn = sqlsrv_connect ($ serverName, $ connOptions);
but I always get this error:
[HTTP / 1.0 500 Internal Server Error 21ms]
Active Discussions
Exclude non-windows assets from scanning by assetname
by
rapheren
Last post:
Today
at 1:18:12 PM(UTC)
HTTPS Certifikate untrusted
by
pskup
Last post:
Today
at 9:20:07 AM(UTC)
Migrate to new host but without SQL
by
pskup
Last post:
Today
at 9:03:14 AM(UTC)
Object reference error after updating to 10.2.0.0
by
Erik.T
Last post:
Today
at 8:10:25 AM(UTC)
Detect Docking Stations
by
CyberCitizen
Last post:
Today
at 12:59:42 AM(UTC)
Custom reporting - Asset Groups and AD Description
by
rbshawn
Last post:
Yesterday
at 10:54:10 PM(UTC)
A FIX for an odd Scan Error WMI/DCOM from scanning server
by
danielm
Last post:
Yesterday
at 10:14:44 PM(UTC)
Purging helpdesk tickets older than 5 years
by
SentryP
Last post:
Yesterday
at 6:13:37 PM(UTC)