Yes. You are right. But main problem was that my amfphp code is older.
I have downloaded new code and got globals.php at amfphp/ directory.

Thanks valdhor.




________________________________
From: valdhor <valdhorli...@embarqmail.com>
To: flexcoders@yahoogroups.com
Sent: Thursday, 25 June, 2009 6:34:04 PM
Subject: Re:valdhor  [flexcoders] Re: domain problem in remoteobject application





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.themidnightcod ers.com)

--- In flexcod...@yahoogro ups.com, Vikram Singh <vikisingh169@ ...> 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['instanceNa me'] = NULL;
> $amfphp['classPath' ] = 'services/';
> $amfphp['customMapp ingsPath' ] = 'services/';
> $amfphp['adapterMap pings'] = array();
> $amfphp['incomingCl assMappings' ] = array();
> $amfphp['outgoingCl assMappings' ] = array();
> $amfphp['webService Method'] = 'php5';
> $amfphp['disableDes cribeService' ] = false;
> $amfphp['disableTra ce'] = false;
> $amfphp['disableDeb ug'] = false;
> $amfphp['lastMethod Call'] = '/1';
> $amfphp['isFlashCom m'] = false;
> $amfphp['classInsta nces'] = array();
> $amfphp['regenerate MethodTable' ] = false;
> $amfphp['amf3Record SetFormat' ] = "Array";
> $amfphp['encoding' ] = "amf0";
> 
> ?>
> 
> so what should i do? I am confused.
> 
> 
> 
> 
> ____________ _________ _________ __
> From: valdhor <valdhorlists@ ...>
> To: flexcod...@yahoogro ups.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
>


   


      Love Cricket? Check out live scores, photos, video highlights and more. 
Click here http://cricket.yahoo.com

Reply via email to