Ok thx jonknee, I understand the problem better now.
The only reason I store them in db is that I have all data at one
place and it's easy to handle for me, not the best reason I know.
For now I will use the direct access to the db, thats fast enough.
Here is the code I use now in the extra php to set up the db
connection:
require('..\..\config\database.php');
$dbConfig = new DATABASE_CONFIG;
$db = $dbConfig->default;
mysql_connect($db['host'], $db['login'], $db['password']);
mysql_select_db($db['database']);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---