I am working on a Web based Sybase interface. When I try to access the code from my
web page I get a server error. When I check the error_log, I get the following error for
the Web page access:
Your sybase home directory is /export/home/sybase. Check the environment variable SYBASE if it is not the one you want!
When I check my environment variables I get Sybase=/sybase, which is the correct home directory.
I checked the code from someone else's page which accesses a different (but still Sybase) data base
and found this:
Begin {$NEW{SYBASE}='Sybase';}
I tried this and still got the same error. Is this code creating an instance of an environment variable object? Do I have to make the rest of my code Object Oriented?
I am assuming that my path variable,which is correct, and the public path variable for Sybase are different. Am I wrong? God, I miss C on Warp4.5.
In reply to ENV Object? by Warped
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |