Re: Synchronization error

From: Date: Mon, 27 Nov 2000 03:53:30 +0000
Subject: Re: Synchronization error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-27302@lists.php.net to get a copy of this message
Todd: Some dumb suggestions, which probably won't solve your problem, but may... > +++ > <? Try "<?php" > $host = 'localhost:c:\db\FloatOGraph.gdb'; OH, DUDE! This path isn't the same as the one you have commented out below. Change the above line to: $host = 'localhost:c:\FloatOGraph\Data\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'; Try: include('./floatograph.inc)'; include('./functions.php)'; > > if (empty($sessionid)) { > $sessionid = 0; > }; > > //$host = 'localhost:c:\FloatOGraph\Data\FloatOGraph.gdb'; > //$user = 'SYSDBA'; > //$password = 'masterkey'; > $dbh = ibase_connect($host, $user, $password); Maybe: $dbh = ibase_connect("$host", "$user", "$password"); Good luck, --Dan -- PHP scripts that make your job easier http://www.analysisandsolutions.com/code/ SQL Solution | Layout Solution | Form Solution T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.general (#27302) next »