%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11584/cwd/html/ppaobm/vendor/yiisoft/yii2/web/ |
Upload File : |
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace yii\web; /** * Cookie represents information related with a cookie, such as [[name]], [[value]], [[domain]], etc. * * For more details and usage information on Cookie, see the [guide article on handling cookies](guide:runtime-sessions-cookies). * * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */ class Cookie extends \yii\base\BaseObject { /** * @var string name of the cookie */ public $name; /** * @var string value of the cookie */ public $value = ''; /** * @var string domain of the cookie */ public $domain = ''; /** * @var int the timestamp at which the cookie expires. This is the server timestamp. * Defaults to 0, meaning "until the browser is closed". */ public $expire = 0; /** * @var string the path on the server in which the cookie will be available on. The default is '/'. */ public $path = '/'; /** * @var bool whether cookie should be sent via secure connection */ public $secure = false; /** * @var bool whether the cookie should be accessible only through the HTTP protocol. * By setting this property to true, the cookie will not be accessible by scripting languages, * such as JavaScript, which can effectively help to reduce identity theft through XSS attacks. */ public $httpOnly = true; /** * Magic method to turn a cookie object into a string without having to explicitly access [[value]]. * * ```php * if (isset($request->cookies['name'])) { * $value = (string) $request->cookies['name']; * } * ``` * * @return string The value of the cookie. If the value property is null, an empty string will be returned. */ public function __toString() { return (string) $this->value; } }