<?php namespace Syltaen; class Users extends UsersModel { public function __construct() { parent::__construct(); $this->fields = [ // "key" ]; } // ============================================================================= // > UNIQUE KEY // ============================================================================= /** * Get a user by its user unique key * * @param string $key * @return self */ public function key($key) { return $this->meta("key", $key); } /** * Generate a unique user key * * @return string */ public static function generateKey($prefix = "", $suffix = "") { return $prefix . sha1(microtime(true) . mt_rand(10000, 90000)) . $suffix;
"Declaration of Syltaen\Users::key($key) must be compatible with Syltaen\Model::key()"
Key | Value |
mcontent | "3"
|
Key | Value |
SERVER_SOFTWARE | "Apache"
|
REQUEST_URI | "/vie-privee"
|
USER | "advachem"
|
HOME | "/home/advachem"
|
SCRIPT_NAME | "/index.php"
|
QUERY_STRING | "" |
REQUEST_METHOD | "GET"
|
SERVER_PROTOCOL | "HTTP/1.1"
|
GATEWAY_INTERFACE | "CGI/1.1"
|
REDIRECT_URL | "/vie-privee"
|
REMOTE_PORT | "64742"
|
SCRIPT_FILENAME | "/home/advachem/public_html/index.php"
|
SERVER_ADMIN | "webmaster@advachem.com"
|
CONTEXT_DOCUMENT_ROOT | "/home/advachem/public_html"
|
CONTEXT_PREFIX | "" |
REQUEST_SCHEME | "http"
|
DOCUMENT_ROOT | "/home/advachem/public_html"
|
REMOTE_ADDR | "172.70.179.124"
|
SERVER_PORT | "80"
|
SERVER_ADDR | "192.168.40.102"
|
SERVER_NAME | "www.advachem.com"
|
SERVER_SIGNATURE | "" |
PATH | "/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin"
|
HTTP_CF_IPCOUNTRY | "US"
|
HTTP_CDN_LOOP | "cloudflare; loops=1"
|
HTTP_CF_CONNECTING_IP | "3.138.135.201"
|
HTTP_COOKIE | "mcontent=3"
|
HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
|
HTTP_ACCEPT | "*/*"
|
HTTP_CF_VISITOR | "{\"scheme\":\"http\"}"
|
HTTP_X_FORWARDED_PROTO | "http"
|
HTTP_CF_RAY | "8e5eea9b4c980285-ORD"
|
HTTP_X_FORWARDED_FOR | "3.138.135.201"
|
HTTP_ACCEPT_ENCODING | "gzip"
|
HTTP_CONNECTION | "Keep-Alive"
|
HTTP_HOST | "www.advachem.com"
|
proxy-nokeepalive | "1"
|
SCRIPT_URI | "http://www.advachem.com/vie-privee"
|
SCRIPT_URL | "/vie-privee"
|
UNIQUE_ID | "Zz7fMrm7aKFFs7k__TbVKAAAAA0"
|
REDIRECT_STATUS | "200"
|
REDIRECT_SCRIPT_URI | "http://www.advachem.com/vie-privee"
|
REDIRECT_SCRIPT_URL | "/vie-privee"
|
REDIRECT_UNIQUE_ID | "Zz7fMrm7aKFFs7k__TbVKAAAAA0"
|
FCGI_ROLE | "RESPONDER"
|
PHP_SELF | "/index.php"
|
REQUEST_TIME_FLOAT | "1732173618.8251"
|
REQUEST_TIME | "1732173618"
|
argv | [] |
argc | "0"
|