Php-gtk2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scasti1
    New Member
    • Dec 2008
    • 1

    Php-gtk2

    Can get the PHP_GTK2 to work just fine, but, for the life of me, can't get it to connect to a db. The php-cl.ini file seems to be pointing to the correct ext folder as when I change it the extension_dir, the files don't open. Can get .phpg files to run just fine, but when I try to add db extensions and then run the following line:

    $testing = mysql_connect(h ost,user,passwo rd);

    the .phpg file closes.

    I did get some initial errors when I added mysql-related extension lines to the php-cl.ini file. The errors required some additional files be placed in the php-gtk2 folder (files like libmysql.dll). Once I put these files in there, no more errors. It was like the extra extension directive I added to php-cl.ini was now satisfied that all the mysql files that were needed were now present. The .phpg files then ran fine, but only if I commented out the line I mentioned above:

    $testing = mysql_connect(h ost,user,passwo rd);

    No good documentation on this problem, it appears.

    Very frustrating as these desktop classes are very nice. Anybody solve these problems?

    Scott
Working...