[PHP] Client does not support authentication protocol requested

2004-03-22 Thread Khalid Judeh
i psoted a message here before few days asking how to solve this problem, fortunately i found the solution on a website, i reseted the pass and all worked. MySQL 4.1 uses an authentication protocal based on a password hashing algorithm that is incompatible with that used by older clients. If yo

[PHP] DB connection problem

2004-03-19 Thread Khalid Judeh
hallo all, i have a problem connecting to mysql db, i use the following code to connect to the db: $DBConn = mysql_connect("localhost", "myusername","mypassword") or die("Could not connect to database, " . mysql_error()); mysql_select_db("db1", $DBConn); and i get the following error: Warning:

[PHP] date()

2004-03-18 Thread Khalid Judeh
hello all, i am new to php, i am trying to call the date function this way: and the result i get is: object18/03/04 any help would be appreciated Khaled Jouda cell. phone: 0163-2382758 fax: 1(801)439-1253 alternative email: [EMAIL PROTE