<?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 |
HandLtestDomainNameServer | "HandLtestDomainValueServer"
|
Key | Value |
SERVER_SOFTWARE | "Apache"
|
REQUEST_URI | "/comments/feed"
|
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 | "/comments/feed"
|
REMOTE_PORT | "18674"
|
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.141"
|
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.14.246.52"
|
HTTP_COOKIE | "HandLtestDomainNameServer=HandLtestDomainValueServer"
|
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 | "8e5ecaada8f9631e-ORD"
|
HTTP_X_FORWARDED_FOR | "3.14.246.52"
|
HTTP_ACCEPT_ENCODING | "gzip"
|
HTTP_CONNECTION | "Keep-Alive"
|
HTTP_HOST | "www.advachem.com"
|
proxy-nokeepalive | "1"
|
SCRIPT_URI | "http://www.advachem.com/comments/feed"
|
SCRIPT_URL | "/comments/feed"
|
UNIQUE_ID | "Zz7aF0R0n_7lmqoaPVZ33QAAABM"
|
REDIRECT_STATUS | "200"
|
REDIRECT_SCRIPT_URI | "http://www.advachem.com/comments/feed"
|
REDIRECT_SCRIPT_URL | "/comments/feed"
|
REDIRECT_UNIQUE_ID | "Zz7aF0R0n_7lmqoaPVZ33QAAABM"
|
FCGI_ROLE | "RESPONDER"
|
PHP_SELF | "/index.php"
|
REQUEST_TIME_FLOAT | "1732172311.0958"
|
REQUEST_TIME | "1732172311"
|
argv | [] |
argc | "0"
|