[TYPO3-UG Denmark] DB info

Jan-Erik Revsbech (MOC) jer at moccompany.com
Thu Oct 12 08:16:25 CEST 2006


Du kan jo bare include localconf.php ( include(PATH_site.'typo3conf/localconf.php'); ), og så aflæse værdierne af $typo_db,$typo_db_username og $typo_db_password 

/Jan-Erik

> -----Original Message-----
> From: typo3-ug-denmark-bounces at lists.netfielders.de 
> [mailto:typo3-ug-denmark-bounces at lists.netfielders.de] On 
> Behalf Of Peter Poulsen
> Sent: 11. oktober 2006 17:25
> To: 'TYPO3 Usergroup Denmark'
> Subject: [TYPO3-UG Denmark] DB info
> 
> Hej
> 
> Jeg skal bruge at køre noget "system('mysqldump $typodb -h 
> $host -u $user ....')"; i et backend modul. Hvordan finder 
> jeg de værdier som
> TYPO3 Connecter til databasen med? Altså hvad $typo_db* 
> variablene i localconf er sat til.
> 
> --
> Med venlig hilsen,
> 
> Peter Poulsen
> _______________________________________________
> TYPO3-UG-denmark mailing list
> TYPO3-UG-denmark at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-denmark
> 



More information about the TYPO3-UG-denmark mailing list