CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 common global functions

Print topic Send  topic

Author Message
gianni
Posted: 05/13/2002, 1:15 AM

Hi,

I have some global functions common to two different projects. I would like to write them in a separate text file and include them so that I don't have to make changes in two places.

How can I do?

Thanks

Gianni
Gianni
Posted: 05/13/2002, 2:07 AM

I found by myself:

Saved my functions in "includes/myInclude.php.inc" and just put in the global functions:
include "includes/myInclude.php.inc" ;

I also checked in project Properties->Files the box "Copy/publish files to the server" giving the pathname of source and destination directory, but files aren't copied.
Gianni
Posted: 05/13/2002, 2:42 AM

Ok, ok...

destination path is relative to publishing path/folder.

   


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.