Im getting this :

PHP Parse error:  syntax error, unexpected T_LOGICAL_OR in C:\Program
Files\PHP\
AndroidMapProxy.php on line 169

Please assist

On Aug 26, 2:20 pm, jokochi <[EMAIL PROTECTED]> wrote:
> Hi Shan,
>
> I did open two windows with cmd.exe.
> And run php script in a window,
> c:\> php AndroidMapProxy.phphttp://my.proxy.com:88888001  <- please
> fix them.
>
> Then run emulator in another window,
> c:\>emulator -http-proxyhttp://127.0.0.1:8001<- this must be the
> same port number that specified script's parameter.
>
> No firewall setting is required.
>
> I saw the maps using original map application.
>
> On 8月26日, 午後2:35, shan <[EMAIL PROTECTED]> wrote:
>
>
>
> > Also, did you see the maps via the maps application or on the browser?
>
> > On Aug 22, 7:06 pm, jokochi <[EMAIL PROTECTED]> wrote:
>
> > > Yes, I am able to see the map.
> > > After that I checked the script working on Windows.
> > > Have you install PHP5 and run it on command prompt(cmd.exe) ?
>
> > > Windows PHP can be found 
> > > here.http://www.php.net/get/php-5.2.6-win32-installer.msi/from/a/mirror
>
> > > I installed it with default setting.
> > > Please do not forget to turn off the firewall.
>
> > > On 8月22日, 午後6:43, shan <[EMAIL PROTECTED]> wrote:
>
> > > > Thanks Jokochi, still can't get it same problems. Please update if you
> > > > could.
> > > > Were you able to display the maps?
>
> > > > On Aug 22, 1:10 pm, jokochi <[EMAIL PROTECTED]> wrote:
>
> > > > > Hi Shan,
>
> > > > > I am sorry I did not test with windows so I can not answer you so far.
> > > > > But at least your PC has to be installed PHP5.
>
> > > > > Regarding port no, only if your site proxy is the same PC which runs
> > > > > emurator, you have to change the port no.
> > > > > In my example mentioned before,  it is running the PHP script and
> > > > > emulator on local pc (xxx.yyy.com).
> > > > > The connection is like this
> > > > >  emulator (xxx.yyy.com:???) -> php script (xxx.yyy.com:8080) -> proxy
> > > > > (aaa.bbb.com:8000) -> (Google?)
> > > > > Of course you can change the local port and run script on the
> > > > > different PC.
>
> > > > > Ahh, I found a bug in my code.
> > > > > Please fix this line;
> > > > > wrong:
> > > > > if (isset($argv[2]) && (preg_match("^\d+$", $argv[2])))
> > > > > correct:
> > > > > if (isset($argv[2]) && (preg_match("/^\d+$/", $argv[2])))
>
> > > > > Thank you.
>
> > > > > On 8月22日, 午後3:58, shan <[EMAIL PROTECTED]> wrote:
>
> > > > > > Hi Jokochi
>
> > > > > > I am using a Windows machine, do i need to setup something to 
> > > > > > execute
> > > > > > the script?
> > > > > > Also my proxy port no is 8080, i could make out that you were 
> > > > > > routing
> > > > > > to 8080 but mine already runs on the same.
> > > > > > I tried to execute it on IE7 but it returned an open-save dialog 
> > > > > > which
> > > > > > keeps looping.
> > > > > > I got the browser up but the maps won't respond.
> > > > > > Thanks for the script.
>
> > > > > > Any solutions.
>
> > > > > > On Aug 22, 11:04 am, shan <[EMAIL PROTECTED]> wrote:
>
> > > > > > > Hi Justin
>
> > > > > > > Now the browser works in the emulator but not the maps.
> > > > > > > Any suggestions to get the maps going.
>
> > > > > > > On Aug 21, 1:34 am, "Justin (Google Employee)" <[EMAIL PROTECTED]>
> > > > > > > wrote:
>
> > > > > > > > Does the browser work in the emulator for you? The emulator 
> > > > > > > > doesn't
> > > > > > > > deal well with being behind a proxy and my guess would be that 
> > > > > > > > you
> > > > > > > > aren't able to use any data at all.
>
> > > > > > > > Cheers,
> > > > > > > > Justin
> > > > > > > > Android Team @ Google
>
> > > > > > > > On Aug 20, 5:40 am, shan <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > > Can the maps API  work behind proxy in the 0.9 beta?- Hide 
> > > > > > > > > quoted text -
>
> > > > > > > > - Show quoted text -- Hide quoted text -
>
> > > > > > > - Show quoted text -- Hide quoted text -
>
> > > > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to