peter
|
| Posted: 02/14/2002, 4:46 AM |
|
ok .. using PHP ... here's the problem.
I needed to include authentication script to CodeCharge generated page so I used Open Any Page and placed the script there which works just fine. Script generates variables that i need to have access to in later functions (in the same document). The problem is that i can't find a way how to declare global variable at the beginning of that function (it needs to be declared before SQL statements) using CC. When i edit the source manually and add "global $variable;" at the beginning of function all works fine ... is there any way how to achieve the same result using CC ?? This would be very helpfull 'cause i'm getting tired of manually editing the script everytime i generate it from CC.
Thanks ...
|
|
|
 |
Alex Alexapolsky
|
| Posted: 02/14/2002, 5:15 AM |
|
You can declare gloabl vars in Page/Open event , or Modules section
|
|
|
 |
|