CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 global string needed for local vs ftp posting

Print topic Send  topic

Author Message
sewells
Posted: 08/14/2003, 8:17 AM

Hello,

I have an application using aspemail. The application defines an SMTPHost which is used in several places in the codecharge studio application. When I recompile for the webhost using FTP i need to manually change code in a several places for it to work on the host. Any hints to have a global variable or include file which allows me to make these changes only in one place? Other ideas including an if statement which can detect whether i'm running localhost or on my webhost?

regards
---Steven Wells steve@stevenwells.net
Thomas R
Posted: 11/04/2003, 1:25 PM

change string to be returned from function. Change constant inside function and it returns apropriate string to conect/use.

If then to locate where you are ? Read site inifile.ini , and it contains information about where you are ..

   


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

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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