This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Getting all POST and GET params
#1
Hi,

do you know how to get all params in .lp files. I am trying to integrate Traccar Client directly to LM but I don't know what kind of params it sends.
Done is better than perfect
Reply
#2
Like this:
Code:
vars = getvars()
Reply
#3
Thanks, this is exactly what I've meantWink Unfortunately Traccar client sends some data to LM but I haven't any logs so maybe it can't reach:

Code:
<?
require('apps')
_SCRIPTNAME = 'traccar client'

vars = getvars()

log(vars)
print('ok')


I am using this address and by webbrowser all is good but there is no data from Traccar client:
http://ip_address:port/user/traccar.lp

I will try some moreWink
Done is better than perfect
Reply


Forum Jump: