using database connection on custom header file using database connection on custom header file
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

using database connection on custom header file

Started by thapame, May 27, 2008, 10:16:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

thapame

I have added {CUSTOM_HEADER} file using admin panel and it's working file.
I mean the file is included on the right location.

but I want to use database connection on the file added as {CUSTOM_HEADER} without re-defining connection string like host, db, user, pass.
so how can it be possible

any help will be greatly appreciated.