CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> CodeCharge -> Tips & Solutions

 Some error on Common.php line 222

Print topic Send  topic

Author Message

Posts: 4
Posted: 07/21/2013, 8:00 AM

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
View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.