Geolocation

397 views
Skip to first unread message

Adilson Carneiro

unread,
Dec 10, 2015, 5:57:53 AM12/10/15
to PHP Desktop
Hi,
I wonder if the phpdesktop I can detect the geolocation using HTML5

Regards,
Adilson

Czarek Tomczak

unread,
Dec 10, 2015, 10:21:01 AM12/10/15
to phpde...@googlegroups.com
You need obtain Google API keys and set environment variables (eg. with a script before launching phpdesktop). See http://www.chromium.org/developers/how-tos/api-keys

--
You received this message because you are subscribed to the Google Groups "PHP Desktop" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phpdesktop+...@googlegroups.com.
Visit this group at http://groups.google.com/group/phpdesktop.
To view this discussion on the web visit https://groups.google.com/d/msgid/phpdesktop/96a66847-17d5-4a1f-983e-1a02ce299b6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Adilson Carneiro

unread,
Dec 23, 2015, 11:03:20 AM12/23/15
to PHP Desktop
hi , I added the GOOGLE_API_KEY the environment variables $ _ENV more navigator.geolocation does not work.
I used the command --cgi_environment

Czarek Tomczak

unread,
Dec 23, 2015, 12:34:54 PM12/23/15
to phpde...@googlegroups.com
The --cgi_environment sets env variables for the CGI scripts (php).
Create a .bat script that sets env variables and launches phpdesktop
executable.

On 12/23/15, Adilson Carneiro <ac17...@gmail.com> wrote:
>
>
> hi , I added the GOOGLE_API_KEY the environment variables $ _ENV more
> navigator.geolocation does not work.
>
> I used the command --cgi_environment
>
>
> Em quinta-feira, 10 de dezembro de 2015 13:21:01 UTC-2, Czarek Tomczak
> escreveu:
>>
>> You need obtain Google API keys and set environment variables (eg. with a
>>
>> script before launching phpdesktop). See
>> http://www.chromium.org/developers/how-tos/api-keys
>>
>> On Thu, Dec 10, 2015 at 10:57 AM, Adilson Carneiro <ac17...@gmail.com
>> <javascript:>> wrote:
>>
>>> Hi,I wonder if the phpdesktop I can detect the geolocation using HTML5
>>>
>>>
>>> Regards,
>>> Adilson
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>>
>>> "PHP Desktop" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>>
>>> email to phpdesktop+...@googlegroups.com <javascript:>.
>>> <https://groups.google.com/d/msgid/phpdesktop/96a66847-17d5-4a1f-983e-1a02ce299b6f%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "PHP Desktop" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to phpdesktop+...@googlegroups.com.
> Visit this group at https://groups.google.com/group/phpdesktop.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/phpdesktop/d0987436-8223-4390-9e45-04c5ae9f8ad8%40googlegroups.com.

Adilson Carneiro

unread,
Dec 28, 2015, 5:15:25 AM12/28/15
to PHP Desktop

hi , you have an example of bat script?

Regards

Czarek Tomczak

unread,
Dec 28, 2015, 9:31:13 AM12/28/15
to phpde...@googlegroups.com
Put some effort and search for it, use Google.

On 12/28/15, Adilson Carneiro <ac17...@gmail.com> wrote:
>
> hi , you have an example of bat script?
>
> Regards
>
> Em quarta-feira, 23 de dezembro de 2015 15:34:54 UTC-2, Czarek Tomczak
> escreveu:
>>
>> The --cgi_environment sets env variables for the CGI scripts (php).
>> Create a .bat script that sets env variables and launches phpdesktop
>> executable.
>>
>> > Visit this group at https://groups.google.com/group/phpdesktop.
>> > To view this discussion on the web visit
>> >
>> https://groups.google.com/d/msgid/phpdesktop/d0987436-8223-4390-9e45-04c5ae9f8ad8%40googlegroups.com.
>>
>>
>> > For more options, visit https://groups.google.com/d/optout.
>> >
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "PHP Desktop" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to phpdesktop+...@googlegroups.com.
> Visit this group at https://groups.google.com/group/phpdesktop.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/phpdesktop/6b60694a-7e23-40c1-9b18-ea764b6138fe%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages