Honestly haven't done this in PHP but understand you open it like a device or drive extension "COM1:" "COM2:" etc, same with parallel port "PRN1:" (not sure this last is spelled correctly). Good luck, > -----Original Message----- > From: germana [mailto:germanaoliveirab@xxxxxxxxx] > Sent: Thursday, January 03, 2008 9:20 AM > To: Warren Vail > Cc: 'McCallister, Jason'; php-windows@xxxxxxxxxxxxx > Subject: RE: Microsoft IIS - Fatal error: Call to > undefinedfunction db2_connect() > > My plan is using Apache and Mysql connection.... > > But one thing i want to have clear is about PHP and the connection with > the Serial Port.. > > Thanks!!! > > On Thu, 2008-01-03 at 09:16 -0800, Warren Vail wrote: > > You might consider using ODBC to connect. I've had better luck with > that on > > windows using apache, no IIS experience. > > > > Warren Vail > > > > > -----Original Message----- > > > From: McCallister, Jason [mailto:Jason.McCallister@xxxxxxxxxx] > > > Sent: Thursday, January 03, 2008 8:55 AM > > > To: php-windows@xxxxxxxxxxxxx > > > Subject: Microsoft IIS - Fatal error: Call to undefined > function > > > db2_connect() > > > > > > > *** When I run a PHP script that uses db2_connect, I get this error > > > > message: > > > > > > > > Fatal error: Call to undefined function db2_connect() in > > > > F:\Inetpub\wwwroot\jason2.php on line 5 > > > > > > > > > > > > > > > > *** I also get this windows error on the IIS server > > > > > > > > CLI encountered a problem and needed to close. > > > > > > > > > > > > > > > > *** I am using Internet explorer on the client and IIS on the > server. > > > > > > > > > > > > > > > > *** If I run "php -m" from the server's command line, I see ibm_db2 > in > > > > the listing. So DB2 appears to be loading. > > > > > > > > > > > > > > > > *** If I try to run the php script from the command line on the > > > > server, I get no output: > > > > > > > > F:\INETPUB\WWWROOT>php -f jason2.php > > > > > > > > F:\INETPUB\WWWROOT> > > > > > > > > > Blue Cross Blue Shield of Florida, Inc., and its subsidiary and > affiliate > > > companies are not responsible for errors or omissions in this e-mail > > > message. Any personal comments made in this e-mail do not reflect the > > > views of Blue Cross Blue Shield of Florida, Inc. The information > > > contained in this document may be confidential and intended solely for > the > > > use of the individual or entity to whom it is addressed. This > document > > > may contain material that is privileged or protected from disclosure > under > > > applicable law. If you are not the intended recipient or the > individual > > > responsible for delivering to the intended recipient, please (1) be > > > advised that any use, dissemination, forwarding, or copying of this > > > document IS STRICTLY PROHIBITED; and (2) notify sender immediately by > > > telephone and destroy the document. THANK YOU. > > > > > > -- > > > PHP Windows Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php