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.

Username in visu
#10
Thanks, I uploaded the user.lp file to / with ftp as user and then change the premissions to this file to 777.
With my browser pointed to this location it shows error:

Error in /www/user/user.lp at line 2: attempt to call global '    require' (a nil value)


user.lp file content:
<?
    require('apps')

    clientuser = request.username or 'anonymous'

    print(clientuser)
?>



-John
Reply


Messages In This Thread
Username in visu - by Thomas - 16.10.2017, 16:34
RE: Username in visu - by Erwin van der Zwart - 16.10.2017, 17:56
RE: Username in visu - by Thomas - 17.10.2017, 09:27
RE: Username in visu - by Thomas - 17.10.2017, 12:10
RE: Username in visu - by Erwin van der Zwart - 17.10.2017, 14:56
RE: Username in visu - by JohnTH - 05.02.2020, 11:22
RE: Username in visu - by admin - 05.02.2020, 12:06
RE: Username in visu - by JohnTH - 11.02.2020, 06:46
RE: Username in visu - by admin - 11.02.2020, 07:47
RE: Username in visu - by JohnTH - 11.02.2020, 10:53
RE: Username in visu - by admin - 11.02.2020, 10:56
RE: Username in visu - by JohnTH - 11.02.2020, 11:28

Forum Jump: