francisco.wapka.co===http://wk.franciscodaschagas.dev/lua-globals

Referrer: ""

Lua globals available in Wapka

All the Lua global functions and methods available in Wapka (official documentation).


_G
_VERSION
api
	data_create
	data_edit
	data_info
	file_create
	file_edit
	file_info
	folder_create
	folder_edit
	folder_info
	forum_create
	forum_edit
	forum_info
	getme
	logout
	message_create
	message_edit
	message_info
	post_create
	post_edit
	post_info
	user_create
	user_edit
	user_info
	user_login
	user_online
	youtube_api
assert
debug
	traceback
decoder
	base64
	json
	url
dump
encoder
	base64
	json
	url
env
	PREF_DOMAIN
	SITENAME
	SITE_DESCRIPTION
	SITE_HEADLINE
	is_admin
	is_user
	remote_ip
	siteid
	sitename
	timezone
	userid
	username
error
getcode
getfenv
getmetatable
global
	api
	dump
	env
	getcode
	hash
		crc32
		md5
		sha1
		sha256
		sha512
	html
		doctype
		escape
		headtag
		paging
		render_bbcode
		render_tag
		strip_tags
		title
		unescape
	include
	print
	req
		args
		body
		cookie
			PHPSESSID
		files
		get
		http
			accept
			accept_encoding
			cdn_loop
			cf_connecting_ip
			cf_ew_via
			cf_ipcountry
			cf_ray
			cf_visitor
			cf_worker
			connection
			content_length
			content_type
			cookie
			host
			user_agent
			x_forwarded_for
			x_forwarded_proto
		is_args
		method
		post
		request_uri
		script_filename
		script_name
		session
		uri
		url
	resp
		http
			0
			1
			2
			3
		status
	server
		date
		delay
		error
		exit
		header
		log
		send
		template
		terminate
		time
		timezone
	url
		build
		decode
		encode
		map
		parse
		redirect
		rewrite
		slug
hash
html
include
ipairs
loadstring
math
	abs
	acos
	asin
	atan
	atan2
	ceil
	cos
	cosh
	deg
	exp
	floor
	fmod
	frexp
	huge
	ldexp
	log
	log10
	max
	min
	mod
	modf
	pi
	pow
	rad
	random
	randomseed
	sin
	sinh
	sqrt
	tan
	tanh
next
os
	clock
	date
	difftime
	exit
	time
pairs
pcall
print
proxy
	pass
	set_body
	set_header
	ssl_verify
	store
rawequal
rawget
rawset
req
resp
select
server
setfenv
setmetatable
string
	byte
	char
	find
	format
	gfind
	gmatch
	gsub
	len
	lower
	match
	rep
	reverse
	sub
	upper
table
	concat
	foreach
	foreachi
	getn
	insert
	maxn
	remove
	setn
	sort
tonumber
tostring
type
unpack
url
xpcall

env return


{
    "SITE_HEADLINE": "Wapka Developer",
    "remote_ip": "3.147.53.55",
    "is_user": false,
    "sitename": "francisco.wapka.co",
    "SITENAME": "Francisco Galdino",
    "timezone": "UTC",
    "username": "Guest",
    "PREF_DOMAIN": "wk.franciscodaschagas.dev",
    "siteid": 84347,
    "is_admin": false,
    "SITE_DESCRIPTION": "Francisco Galdino is a Web and Wapka Developer from Brazil.",
    "userid": 0
}

req return


{
    "post": [],
    "is_args": "",
    "method": "GET",
    "args": "",
    "session": [],
    "cookie": {
        "PHPSESSID": "h2jgkmqqfi61gi166nhtpjhg1h"
    },
    "body": "",
    "http": {
        "connection": "close",
        "cf_connecting_ip": "3.147.53.55",
        "cf_ipcountry": "US",
        "host": "wk.franciscodaschagas.dev",
        "content_length": "",
        "accept_encoding": "gzip",
        "cf_visitor": "{\"scheme\":\"https\"}",
        "x_forwarded_proto": "https",
        "x_forwarded_for": "3.147.53.55, 154.26.133.167",
        "cdn_loop": "cloudflare; loops=1; subreqs=1",
        "cookie": "PHPSESSID=h2jgkmqqfi61gi166nhtpjhg1h",
        "user_agent": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)",
        "cf_ew_via": 15,
        "content_type": "",
        "accept": "*/*",
        "cf_worker": "franciscodaschagas.dev",
        "cf_ray": "8f59510c627310e8-ORD"
    },
    "get": [],
    "request_uri": "/lua-globals",
    "script_name": "lua-globals",
    "files": [],
    "url": "http://wk.franciscodaschagas.dev/lua-globals",
    "uri": "/lua-globals",
    "script_filename": "lua-globals"
}

resp return


{
    "status": 200,
    "http": {
        "1": "Expires: Thu, 19 Nov 1981 08:52:00 GMT",
        "2": "Cache-Control: no-store, no-cache, must-revalidate",
        "3": "Pragma: no-cache",
        "0": "X-Powered-By: PHP/8.3.12"
    }
}