[PHP-DB] Quiet lately....

2006-04-04 Thread Julien Bonastre

^bump^


its too quiet in here!


Has something exciting happened in the U.S. of A. ??


[hehehehehehehe]




--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.384 / Virus Database: 268.3.5/300 - Release Date: 3/04/2006

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Messenger Question!

2006-04-04 Thread JeRRy
 
  Not exactly a DB question but the storing will be done in a DB and using PHP.
   
  Anyways with the growing demand of IM's I want to add to my site easy access 
for people contact me.  I could add my Yahoo! username for Yahoo! Messenger and 
MSN Messenger email address but I want to make it easier for people to add me, 
most people won't bother doing it the long way.
   
  So want I want to do is store my id's to a DB than run a query to fetch the 
id required than output a hyperlink to the user to add me.  When they click the 
hyperlink it will automatically detect if they have got that Messenger system 
on their system and if logged in I will be added to the list.  If not logged in 
or have the Messenger than it will display a error.
   
  Is there a way to DETECT if they have Yahoo! or MSN Messengter installed?
   
  Also I know the hyperlink code to add users from a url for Yahoo! Messenger 
but does anyone know it or some code for MSN Messenger?
   
  Thanks for your time.
   
  J


Re: [PHP-DB] Quiet lately....

2006-04-04 Thread dpgirago

 ^bump^


 its too quiet in here!


 Has something exciting happened in the U.S. of A. ??



A certain Texas politician under indictment for felony charges announced he
is going to resign in June, but surely this is off-topic.

 [hehehehehehehe]

David

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] MSSQL PDO - Error!: could not find driver

2006-04-04 Thread Phuoc Diec
Hello,

I got Error!: could not find driver when using PDO to connect to MSSQL
2000 running on Windows 2003 server.

I have recently installed Gentoo 2006 with Apache web server 2.0.55-r1, PHP
5.1.2, pecl-pdo 1.0.2, pecl-pdo-dblib 1.0, pecl-pdo-mysql 1.0.1, mysql
4.1.14, and freetds 0.62.3.

When I do phpinfo(), I can see:

PDO drivers with dblib, mysql enabled
PDO Driver for FreeTDS/Sybase DB-lib with freetds enabled
PDO Driver for MySQL, client library version 4.1.14


I got Error!: could not find driver when I run the following code:

try {
$dbh = new PDO('mssql:host=192.168.19.20;dbname=TEST_DB',
   'test_user', 'test_password');

echo Connnected.\n;
$dbh = null;
} catch (PDOException $e) {
print Error!:  . $e-getMessage() . \n;
die();
}

NOTE: I could connect to MySQL database with PDO and I also could connect to
the same MSSQL server with mssql_connect.

Could anyone help me with this problem?

Thank you very much.

Phuoc Diec.


[PHP-DB] Error ANSI_NULLS and ANSI_WARNINGS when calling MSSQL stored procedure

2006-04-04 Thread Phuoc Diec
Hello,

I got the following error message when calling a stored procedure on MSSQL
2000 server:

Heterogeneous queries require the ANSI_NULLS and ANSI_WARNINGS options to
be set for the connection. This ensures consistent query semantics. Enable
these options and then reissue your query. [20018] (severity 5).

How can I set ANSI_NULLS and ANSI_WARNINGS on when open connections to the
MSSQL 2000 server. I use both mssql_connect and PDO.

Thank you.

Phuoc Diec


Re: [PHP-DB] Messenger Question!

2006-04-04 Thread Chris

JeRRy wrote:
 
  Not exactly a DB question but the storing will be done in a DB and using PHP.
   
  Anyways with the growing demand of IM's I want to add to my site easy access for people contact me.  I could add my Yahoo! username for Yahoo! Messenger and MSN Messenger email address but I want to make it easier for people to add me, most people won't bother doing it the long way.
   
  So want I want to do is store my id's to a DB than run a query to fetch the id required than output a hyperlink to the user to add me.  When they click the hyperlink it will automatically detect if they have got that Messenger system on their system and if logged in I will be added to the list.  If not logged in or have the Messenger than it will display a error.
   
  Is there a way to DETECT if they have Yahoo! or MSN Messengter installed?


You could through activex or possibly a java applet, but not with php or 
javascript.


--
Postgresql  php tutorials
http://www.designmagick.com/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php