CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Replace function in common files (PHP)?

Print topic Send  topic

Author Message
vivo
Posted: 08/21/2003, 1:48 AM

I need to have my own "function haltmsg($msg)", as the built in one tells a bit too much about the SQL-environment when it crashes.

I understand that i must not modify "db_mysql.php" directly, so what can i do???
feha
Posted: 08/21/2003, 12:54 PM

You don't need to replace anything in common file...
include in common.php file your own functions as ...

//Include Files @0-6CA7C540
include(RelativePath . "/Classes.php");
include(RelativePath . "/db_mysql.php");

include(RelativePath . "/myfunctions.php");

// myfunctions.php (or asp ...) this can contain your custom functions and you can call them all the time ...

regards
feha
[www.vision.to]
vivo
Posted: 08/22/2003, 6:58 AM

Thanks, that helped.

I did not notice that single white line in common.php, where
i can put my own includes...

   


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.