You are here: Re: COM Object syntax differs per server « PHP Programming Language « IT news, forums, messages
Re: COM Object syntax differs per server

Posted by Michael Vilain on 10/25/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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация