PHAkt Forum :: phakt source code

This thread was displayed: 0 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
israel hernandez
03-01-2008 01:39:51 GMT +2

well , i  speak English very bad, but ...

   when cs3 open a php mysql project  save  2  files  in the server side,   in the folder  _mmServerScripts.

These are, mysql.php and  MMHTTPDB.php

mysql.php have the code for the class MySqlConnection  

well if you modify

function Open()
    {
      $this->c $this->username, $this->password);
        if (isset($this->connectionId) && $this->connectionId && is_resource($this->connectionId))
        {
            $this->isOpen = ($this->database == "") ? true : mysql_select_db($this->database, $this->connectionId);
        }
        else
        {
            $this->isOpen = false;
        }   
    }

by ...

    function Open()
    {
    //"host=localhost port=5432 dbname=DATABASENAME user=USERNAME password=PASSWORD"
    include('../adodb5/adodb.inc.php');
    $this->c # eg 'mysql' or 'postgres'          
    $this->connectionId->Connect($this->hostname,$this->username, $this->password, $this->database);
    $isOpen=$this->connectionId->IsConnected();
             if ($isOpen )
        {
            $this->isOpen = true ;
        }
        else
        {
            $this->isOpen = false;
        }   
    }

you can connect to postgres database whith adodb



Back | Reply | Quote | Top
© Adobe Systems Romania. All rights reserved.