Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 2000051

[PHP3] PHP4 problem solved From: Gibellini Paolo (p.gibellini <email protected>)
Date: 05/15/00

Hi.

Thank You for your suggestions, but the problem was elsewhere:
in PHP3 I call odbc_connect() with this syntax (or it does not worked):

odbc_connect("DSN=".$sourceName.";UID=".$userName.";PWD=".$passWord,"","")
in PHP4 I correct this syntax with:
    odbc_connect($sourceName,$userName,$passWord)
And it works.

Thank You,
  Paolo Gibellini
  p.gibellini <email protected>

----- Original Message -----
From: Richard Lynch <richard <email protected>>
To: "Gibellini Paolo" <p.gibellini <email protected>>
Cc: <php3 <email protected>>
Sent: Friday, May 12, 2000 11:42 PM
Subject: Re: [PHP3] PHP4 problem: not all works. Help needed.

> In article <025501bfbc2f$1904e820$1427000a <email protected>>, p.gibellini <email protected>
> ("Gibellini Paolo") wrote:
>
> > Hi.
> > I have recently installed PHP4 on my Linux machine following all the
> > instructions.
> > I need to use an ODBC connection, and my configuration command were:
> >
> > For PHP4:
> >
./configure --with-apache=/<my_apache_dir>/httpd --with-config-file-path=/<m
> >
_conf_dir>/conf --with-iodbc=/<my_iodbc_dir>/lib --with-openlink=/<my_open
> > link_dir>/lib --enable-track-vars
>
> Almost for sure you were not supposed to have /lib on the end of the iodbc
> setting, nor the --with-openlink setting.
>
> PHP needs to find the include dir and the lib dir in each of those, so
> just give the <my_xxx_dir> part.
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
> To search the mailing list archive, go to:
http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin <email protected>
>

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>