CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Stupid PHP Include Path Question

Print topic Send  topic

Author Message
tcb

Posts: 34
Posted: 06/10/2008, 1:20 PM

Hi,

I've searched the forum, really I have, but I can't find a simple solution to my question.

In a CCS 4 PHP project, I want to move the database login information completely out of the website and into the PHP include_path. What I've ended up doing is putting a copy of common.php (which rarely changes) into a directory in include_path, then including that file within the project's local common.php. Of course, this means deleting the autogenerated part of common.php after every build, which is a real pain.

Putting common files outside of the public directories seems like a natural thing to want to do; does CCS 4 provide for it and I've just missed it, or is there trickery involved?

Thanks in advance. :-)

tcb
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.