[PHP-WIN] Unknown: 2 result set(s) not freed

2004-11-10 Thread Gün Göksu
Hello, I am fairly new to mysql. My appologies if this question is lame to you. I have stiff not figured a way to fix the following errors appearing in my box. Warning: Unknown: 2 result set(s) not freed. Use mysql_free_result to free result sets which were requested using mysql_query() in

[PHP-WIN] Shell Script error

2004-11-10 Thread Rui Francisco
Hi, I have a small problem with a PHP script with Pear DB The problem is the following: I'm creating a shell script in PHP that access one interbase database. The problem is that if i run it on a webserver the script run correctly but if i runit in the command line it reports one error (DB Error:

Re: [PHP-WIN] Shell Script error

2004-11-10 Thread Luis Moreira
I am not exactly an expert on PEAR, but if the error says connect failed, you are not reaching the DBand/or the server were it resides. Check the way you are connecting : - Is the server named correctly ? - If the access is authenticated, are you using the correct username/password ? - Do you

[PHP-WIN] Re: [PHP] Shell Script error

2004-11-10 Thread Angelo Zanetti
well maybe you are trying to connect to localhost which could be fine for the server but not from commandline... send more info. Rui Francisco [EMAIL PROTECTED] 11/10/2004 2:06:09 PM Hi, I have a small problem with a PHP script with Pear DB The problem is the following: I'm creating a shell

[PHP-WIN] Re: [PHP] Shell Script error

2004-11-10 Thread Rui Francisco
Its a simple script $_SERVER['utilizador']='user'; $_SERVER['pass']='pass'; $_SERVER['host']='localhost or IP address'; $_SERVER['db_name']='c:/path/dbname.fdb'; include_once('DB.php'); $dsn=ibase://.$_SERVER['utilizador'].:.$_SERVER['pass'].@.$_SERVER['host']./.$_SERVER['db_name'];

Re: [PHP-WIN] Shell Script error

2004-11-10 Thread Rui Francisco
Its a simple script $_SERVER['utilizador']='user'; $_SERVER['pass']='pass'; $_SERVER['host']='localhost or IP address'; $_SERVER['db_name']='c:/path/dbname.fdb'; include_once('DB.php'); $dsn=ibase://.$_SERVER['utilizador'].:.$_SERVER['pass'].@.$_SERVER['host']./.$_SERVER['db_name'];

[PHP-WIN] Re: [PHP] Shell Script error

2004-11-10 Thread Angelo Zanetti
not too sure but can your database name be a path?? Rui Francisco [EMAIL PROTECTED] 11/10/2004 4:28:21 PM Its a simple script $_SERVER['utilizador']='user'; $_SERVER['pass']='pass'; $_SERVER['host']='localhost or IP address'; $_SERVER['db_name']='c:/path/dbname.fdb'; include_once('DB.php');

[PHP-WIN] Re: php-windows Digest 8 Nov 2004 03:10:01 -0000 Issue 2459

2004-11-10 Thread colin_e
George, At first glance this sounds slow, but with databases disk performance and RAM are often far more important than CPU, your laptop may be a bad guide. Having said that, I suggest you run your queries in the MySQL command-line tool and use the Explain Select ... function to look at how

[PHP-WIN] Re: Error opening dictionary with php pspell function pspell_new

2004-11-10 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Hey Glyn, Within the english dictionaries distributed by the win32 port of aspell, there are two files in the data directory that are screwed. They are ISO8859-1.dat and standard.krb. They have dos carriage returns in them. Running a unix dos2unix command on them, and replacing them will

[PHP-WIN] Copyright law, how to protect your investment, how to protect your work... Was - RE: [PHP-DB] Please point me in the right direction.......

2004-11-10 Thread Gryffyn, Trevor
I'm surprised I havn't seen this question come up before (might have just missed it) but it's an excellent question so forgive the crossposting as it's extremely relevant to coders and those purchasing services of coders. Anyone who's gotten married and hired a wedding photographer is probably

[PHP-WIN] Apache2+PHP5+MySQL4 -- mysql_connect fails, PHP5+MySQL4+CLI -- mysql_connect works

2004-11-10 Thread Steven James Samuel Stapleton
Relevant information: Windows XP Pro SP2 PHP 5.0.2 MySQL 4.0.21-nt Apache 2 PATH: C:\WINDOWS\system32 C:\c\WINDOWS C:\WINDOWS\System32\Wbem C:\WBP\php //PHP bin dir C:\WBP\Apache2\bin //Apache bin dir MySQL's bin dir is not in path I have tried calling mysql_connect(...) with PHP's

Re: [PHP-WIN] Apache2+PHP5+MySQL4 -- mysql_connect fails, PHP5+MySQL4+CLI -- mysql_connect works

2004-11-10 Thread Steven James Samuel Stapleton
Fixed: For some reason Apache wanted a php.ini in the windows directory rather than in the PHP install directory. Explicitly set the PhpIniDir in the httpd.conf and fixed it. -Jim - Original Message - From: Steven James Samuel Stapleton [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: