CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Use of global variables (wich are set outside CCS)

Print topic Send  topic

Author Message
D van der Wal
Posted: 09/10/2003, 2:07 AM

Hi,

I've a set of functions where I declare some global variables (ex :
$hidden_hash_code = 'test value')

When I use my functions in a php page, I can read the value of
$hidden_has_code; but when I use my functions in a ccs project, the value of
$hidden_hash_code is always NULL (and I've set the superglobal property of
the project to yes).

exemple in my php page
------------------------

include("security/user.php") // where I set my variables
global $hidden_hash_code;
print($hidden_hash_code); // I can view the value of my variable

exemple in ccs page
--------------------
include_once("security/user.php");
global $hidden_hash_code;
global $MyPage
$MyPage->Label->SetValue($hidden_hash_code); // always NULL

Any idea to solve my problem ?
Thanks
Dominique van der Wal

   


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.