Forum Moderators: coopster
This is the script used with local machine test:
//$db_connstr = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=". realpath("\\\\POS-SERVER\C$\om\xxafta.mdb") ." ;DefaultDir=". realpath("\\\\POS-SERVER\C$\om");
this is the script used for samba share, it didnt work:
//$db_connstr = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=". realpath("\\\\nas1\workware\OrderManager\xxafta.mdb") ." ;DefaultDir=". realpath("\\\\nas1\workware\OrderManager");
What can I do? any adcvices will be apreciated/.
Do you think it may be an ldb issue with the samba share and the windows user that runs the apache server?...
I changed the user that apache uses to logon, to a samba authorized user acconunt, not the system account, and with this string:
$db_connstr = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=". realpath("\\\\nas1\\workware\\OrderManager\\xxafta.mdb") ." ;DefaultDir=". realpath("\\\\nas1\\workware\\OrderManager");
thanks to all!
There are 2 machines involved:
Mahcine1:
Dual Core Unix Server
Samba Server
MS Access Database
Machine1:
Dual Core Windows Server
Sql Server
Apache and PHP Server
Thanks in advance.
ALDO