Menu

#24 ADONewConnection and DB

open
None
3
2004-10-10
2004-10-10
No

I believe there is two incompatible 4 issues in this
thing...

first... ADOxx is based on PHP5, so in the file
adodb-mysql.inc.php I had to change the public keyword
by the var keyword.

second... in the function _connect(xxx) I had to
comment the tree if/then/else in the body of that
function and change those tree by: $this->_connectionID
= mysql_connect($argHostname, $argUsername,
$argPassword), ok, I know that is the last line but I
has no access to the -braces key- in this keyword, so i
wrote it again, you could change whatever you want.

The test page has working now...

Discussion

  • Anonymous

    Anonymous - 2004-10-10
    • priority: 5 --> 3
    • assigned_to: nobody --> letreo
     
  • Anonymous

    Anonymous - 2004-10-10

    Logged In: YES
    user_id=816597

    I had found another issue in the same file
    adodb-mysql.inc.php in the line 136, about
    mysql_real_escape_string only on php 4.3.0 and up, so I will
    install PHP 5 now.

    I SUGGEST you do it too.

     
  • Anonymous

    Anonymous - 2004-10-10

    Logged In: YES
    user_id=816597

    Anyone could say if I had to update my Apache ?

     
  • Gabriel

    Gabriel - 2004-10-11

    Logged In: YES
    user_id=1127203

    Is there a way to get a adodb-mysql.inc.php page that has
    been edited and is working? My email is
    arcanjl1@hotmail.com, and that would be great! I tried your
    changes, but I don't think I did it right.
    Thanks!
    Gabe

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.