Wrong file (You are looking at amfphp/core/shared/app/Globals.php). The file 
should be in the root directory (amfphp/globals.php) along with the gateway.php 
file amongst others.


HTH



Steve

BTW. I would recommend changing to WebORB for a more robust, well tested and 
reliable remoting experience (www.themidnightcoders.com)



--- In flexcoders@yahoogroups.com, Vikram Singh <vikisingh...@...> wrote:
>
> hello valdhor
> 
> in my amfphp directory there is only one globals.php file and it contains 
> these ....
> 
> <?php
> /**
>  * Defines globals used throughout amfphp package for config options
>  * 
>  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
>  * @copyright (c) 2003 amfphp.org
>  * @package flashservices
>  * @subpackage app
>  */
> 
> global $amfphp;
> 
> $amfphp = array();
> $amfphp['errorLevel'] = E_ALL ^ E_NOTICE;
> $amfphp['instanceName'] = NULL;
> $amfphp['classPath'] = 'services/';
> $amfphp['customMappingsPath'] = 'services/';
> $amfphp['adapterMappings'] = array();
> $amfphp['incomingClassMappings'] = array();
> $amfphp['outgoingClassMappings'] = array();
> $amfphp['webServiceMethod'] = 'php5';
> $amfphp['disableDescribeService'] = false;
> $amfphp['disableTrace'] = false;
> $amfphp['disableDebug'] = false;
> $amfphp['lastMethodCall'] = '/1';
> $amfphp['isFlashComm'] = false;
> $amfphp['classInstances'] = array();
> $amfphp['regenerateMethodTable'] = false;
> $amfphp['amf3RecordSetFormat'] = "Array";
> $amfphp['encoding'] = "amf0";
> 
> ?>
> 
> so what should i do? I am confused.
> 
> 
> 
> 
> ________________________________
> From: valdhor <valdhorli...@...>
> To: flexcoders@yahoogroups.com
> Sent: Tuesday, 23 June, 2009 7:19:43 PM
> Subject: [flexcoders] Re: domain problem in remoteobject application
> 
> 
> 
> 
> 
> Inside your amfphp directory you will find a file globals.php.
> 
> Change the $servicesPath variable to the full path to your services directory.
> 
> HTH
> 
> Steve
> 
> --- In flexcod...@yahoogro ups.com, Vikram Singh <vikisingh169@ ...> wrote:
> >
> > I am not getting excetly what you are trying to say me.
> > Can you please tell me in some detail which/how configure in amfphp?
> > I am little bit freshers for this stuff.
> > 
> > 
> > Thanks.
> > 
> > 
> > ____________ _________ _________ __
> > From: Pedro Sena <sena.pedro@ ...>
> > To: flexcod...@yahoogro ups.com
> > Sent: Monday, 22 June, 2009 5:55:51 PM
> > Subject: Re: [flexcoders] domain problem in remoteobject application
> > 
> > 
> > 
> > 
> > 
> > You can configure in amfphp where your 'services' would be.
> > 
> > Take a look at documentation, I think that your idea is to have just one 
> > amfphp directory for every project, if so, You can reference external 
> > directories in a way that amfphp would search for them.
> > 
> > HTH
> > 
> > 
> > On Mon, Jun 22, 2009 at 9:07 AM, Vikram Singh <vikisingh169@ yahoo.in> 
> > wrote:
> > 
> > 
> > 
> > 
> > Hello friends,
> > I have a query regarding domain problem.
> > My database is at primarydomain (www..primarydomain . com)
> > I also have subdomain and place all at subdomain directory. like this......
> > 
> > scenario 1:
> > Current file arrangement is:
> > 
> > Exported release build flex project at :www.subdomain. com/flexApplicat ion/
> > amfphp code placed at :www.subdomain. com/flexApplicat ion/amfphpcode/
> > 
> > this is perfectly working.
> > but now....... 
> > 
> > scenario 2:
> > need to arrange like this
> > 
> > Exported release build flex project at :www.subdomain. com/flexApplicat ion/
> > amfphp code placed at :www.subdomain. com/amfphpcode/
> > 
> > amfphpcode is placed outside of flex application directory.
> > 
> > to run perfectly flex application in scenario-2, what changes I have to 
> > make with flex application code OR any other.
> > OR any other possible idea to implement it in scenario-2.
> > Please help me...
> > 
> > Regards,
> > Vikram. 
> > 
> > ____________ _________ _________ __
> >  ICC World Twenty20 England '09 exclusively on YAHOO! CRICKET 
> > 
> > 
> > -- 
> > /**
> > * Pedro Sena
> > * Systems Architect
> > * Sun Certified Java Programmer 
> > * Sun Certified Web Component Developer
> > */
> > 
> > 
> > 
> > 
> >       ICC World Twenty20 England &#39;09 exclusively on YAHOO! CRICKET 
> > http://cricket. yahoo.com
> >
> 
> 
>    
> 
> 
>       Cricket on your mind? Visit the ultimate cricket website. Enter 
> http://cricket.yahoo.com
>


Reply via email to