Re: Synchronization error

From: Date: Fri, 24 Nov 2000 19:25:05 +0000
Subject: Re: Synchronization error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-27009@lists.php.net to get a copy of this message
Are you sure you are including the file?... Print out $host etc right before the db call. ----- Original Message ----- From: Todd Cary <todd@aristesoftware.com> Newsgroups: php.general Sent: Friday, November 24, 2000 12:13 PM Subject: [PHP] Synchronization error > I am trying to use an INC file to contain my global constants. In the > situation below, I have three constants: > > 1) $host > 2) $user > 3) $password > > The INC file contains > > +++ > <? > $host = 'localhost:c:\db\FloatOGraph.gdb'; > $user = 'SYSDBA'; > $password = 'masterkey'; > ?> > > +++ > > Whe I comment out the inline code so that the INC values will be used, I > get a Synchronizatiion error. What am I missing? > > Todd > > +++ > <?php > include 'floatograph.inc'; > include 'functions.php'; > > if (empty($sessionid)) { > $sessionid = 0; > }; > > file://$host = 'localhost:c:\FloatOGraph\Data\FloatOGraph.gdb'; > file://$user = 'SYSDBA'; > file://$password = 'masterkey'; > $dbh = ibase_connect($host, $user, $password); > +++ > > -- > Todd Cary > Ariste Software > todd@aristesoftware.com > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#27009) next »