RE: [PHP] URGENT: IIS server now OK, but MS access DB not reachab le
| From: | Jon Haworth | Date: | Tue, 04 Dec 2001 12:29:27 +0000 |
| Subject: | RE: [PHP] URGENT: IIS server now OK, but MS access DB not reachab le | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-76512@lists.php.net to get a copy of this message | ||
Scope problem?
Try this:
function Output_Entries() {
global $DB_PATH, $DSN;
// rest of function
}
Cheers
Jon
-----Original Message-----
From: mweb [mailto:mweb@inwind.it]
Sent: 04 December 2001 12:28
To: php-general@lists.php.net
Subject: [PHP] URGENT: IIS server now OK, but MS access DB not reachable
Still me.
Thank you all, you were right!!
The sysadmin did find out that the server config was wrong. Now php is OK.
However, I have to access an MS access database with those pages.
The sysadmin says relevant data are:
DSN: domain
Absolute path: c:\domini\domain_name.net\domaindata.mdb
To give you an idea of the environment, a previous working ASP version was
like this:
Set conn = Server.CreateObject("ADODB.Connection")
Set rs = Server.CreateObject("ADODB.Recordset")
conn.Open "Provider = Microsoft.Jet.OLEDB.4.0; Data Source = " &
Server.MapPath(".") & "\domain.mdb; Persist Security Info = False"
The following snippet of code (copied from phpbuilder) fails as pasted at
the
end of the message. Now this must be even stupider than the other problem,
but again any help is appreciated
mweb
**********************************************************************
'The information included in this Email is of a confidential nature and is
intended only for the addressee. If you are not the intended addressee,
any disclosure, copying or distribution by you is prohibited and may be
unlawful. Disclosure to any party other than the addressee, whether
inadvertent or otherwise is not intended to waive privilege or confidentiality'
**********************************************************************