note 46283 deleted from ref.exec by tomsommer

From: Date: Tue, 05 Oct 2004 17:52:59 +0000
Subject: note 46283 deleted from ref.exec by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-78035@lists.php.net to get a copy of this message
Note Submitter: jscappini at hotmail dot com ---- At the moment I'm using two different databases to connect my phonebook page, but when I want to use MySQL or Interbase I had to started it manually, and it is a wasted time!! So I decided to use a page to select what database to use, but I had problems to turn on MySQL 'cause it made a big loop and never show me the database on... I used this: exec("start c:\\php\\mysql\\mysql.exe /B"); And this didn't work!!! But I had have a revelation and just put a shortcut in the folder of MySQL and then point the exec() function to it... Like this: exec("start c:\\php\\mysql /B"); //mysql is the name of the shortcut And this work!!! And you can forget the neverending loop!!! I hope it works to you!!!!

« previous php.notes (#78035) next »