[phpsoa] problem with require_once and global

2007-03-13 Thread mbertazz
) : Notice - Fatal: CFG is not configured! Exiting. why "global $CFG" doesn't wok into setup.php using SCA (if i call setup.php directly it work) ? the problem is i can't change config.php and setup.php, i can chage pluto.php and pippo.php. thank you in advance. mbertazz pluto-&g

[phpsoa] Re: problem with require_once and global

2007-03-14 Thread mbertazz
m calling it as the target of a webservice call. thank you again, mbertazz On Mar 14, 6:24 pm, "Matthew Peters" <[EMAIL PROTECTED]> wrote: > Hi mbertazz, > This is a tricky little problem. The essence of the problem is that > config.php only expects to find itself called

[phpsoa] Re: problem with require_once and global

2007-03-20 Thread mbertazz
Thank you very much Matthew! It's ok. Good night, Matteo On Mar 15, 12:37 pm, "Matthew Peters" <[EMAIL PROTECTED]> wrote: > Hi mbertazz, > > Well, it was solved pretty simply by putting > require_once('config.php') at the top of pippo.php, before th

[phpsoa] passing parameters by reference

2007-09-18 Thread mbertazz
Hi all, i've a question about passing parameters by reference and not by value. I'm using WS binding to talk with a remote service. I can't change or ask to change that remote service and it use a "by reference" approach. Is there some way to use SCA impl. in this particular case? I think it's not

[phpsoa] Re: passing parameters by reference

2007-09-21 Thread mbertazz
semantics for remote services. SCA in PHP > treats all services as remote and assumes local by-reference calls > will just be done using the normal features of PHP. > > Passing by-value is a good practice for remote service calls because > it helps with decoupling the two environments