pibebueno
Posts: 4
|
Posted: 07/21/2013, 8:00 AM |
|
Common.php
errors:
Warning: setcookie() expects at most 6 parameters, 7 given in C:\Program Files\xampp\htdocs\clinica_medica\Common.php on line 222
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\clinica_medica\Common.php:222) in C:\Program Files\xampp\htdocs\clinica_medica\login.php on line 410
The code
function CCSetCookie($parameter_name, $param_value, $expired = -1, $path = "/", $domain = "", $secured = false, $http_only = false)
{
if ($expired == -1)
$expired = time() + 3600 * 24 * 366;
elseif ($expired && $expired < time())
$expired = time() + $expired;
setcookie ($parameter_name, $param_value, $expired, $path, $domain, $secured, $http_only);
}
line 222
setcookie ($parameter_name, $param_value, $expired, $path, $domain, $secured, $http_only);
i change by
setcookie ($parameter_name, $param_value, $expired, $path, $domain, $secured);
but I have to make the same change every time I compile, please any solution?
_________________
Your wish is my command |
 |
 |
|