Posted by Michael Vilain on 10/22/27 11:34
In article <1134381857.672143.165710@f14g2000cwb.googlegroups.com>,
"blue_nodule" <wernerv@gloviz.co.za> wrote:
> I am working on a system that makes use of a COM object. On my system
> at home it requires that I use the "( )" (round bracket) notation when
> accessing array like properties in the object but when I run the code
> on another server (after hours of debugging) it requires that I use the
> "[ ]" (square bracket) syntax.
>
> For instance
>
> On one server = $graph->Depth[0] = 50;
> On another sever = $graph->Depth(0) = 50;
>
> Please help guys this is driving me nuts!
Put conditional code in place that tests for the $_SERVER['SERVER_NAME']
and does the Right Thing(tm).
Or update your version of your OS and configuration to match the hosting
ISP.
Or find another hosting ISP that runs a version and configuration that
matches your system.
Or duplicate your system and co-locate it at the ISP's facility.
--
DeeDee, don't press that button! DeeDee! NO! Dee...
Navigation:
[Reply to this message]
|