Topic: It Is Not A Bug, Question...

<?php

$db_type = 'mysql';
$db_host = 'localhost';
$db_name = 'punbb';
$db_username = 'Dante90';
$db_password = '';
$db_prefix = '';
$p_connect = false;

$cookie_name = 'punbb_cookie';
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;
$cookie_seed = 'd6ckb5eb';

define('PUN', 1);

What for:

$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;
$cookie_seed = 'd6ckb5eb';

? If this:

$cookie_secure = 0;

is:

$cookie_secure = 1;

I can't logged in my forum. Why? And what is it $cookie_seed? Dante

[img]http://img154.imageshack.us/img154/1262/wwzdx9.png[/img]
[img]http://img517.imageshack.us/img517/1542/dante90bu4.jpg[/img]
[img]http://img522.imageshack.us/img522/5276/eurohackersuserbarnb4.gif[/img]

Re: It Is Not A Bug, Question...

Moved to PunBB Discussion, since as you said this isn't a bug wink

Re: It Is Not A Bug, Question...

cookie domain, cookie path, and cookie_secure are all used in the PHP setcookie function. Take a look at it for more information on them.
The cookie seed is a per-site seed for hashing the data in the cookie.

Re: It Is Not A Bug, Question...

Yes, but Smartys answer me please xD Dante

[img]http://img154.imageshack.us/img154/1262/wwzdx9.png[/img]
[img]http://img517.imageshack.us/img517/1542/dante90bu4.jpg[/img]
[img]http://img522.imageshack.us/img522/5276/eurohackersuserbarnb4.gif[/img]

Re: It Is Not A Bug, Question...

I did. The domain, path, and secure are all cookie settings. You can find more about them by looking up PHP's setcookie function. The seed is a per-site salt. You'll have to be more specific if you want something else wink

Re: It Is Not A Bug, Question...

Oh, I didn't see... But I don't want to see in PHP.net xD xD

$cookie_secure = 1;

Why I can't logged in? O.o in little words xD If I am logged in... I see normally the Forum... But if I am not logged in I can't log in O.o Dante

[img]http://img154.imageshack.us/img154/1262/wwzdx9.png[/img]
[img]http://img517.imageshack.us/img517/1542/dante90bu4.jpg[/img]
[img]http://img522.imageshack.us/img522/5276/eurohackersuserbarnb4.gif[/img]

Re: It Is Not A Bug, Question...

Just take the time to look up the stuff wink

secure

    Indicates that the cookie should only be transmitted over a secure HTTPS connection from the client. When set to TRUE, the cookie will only be set if a secure connection exists. The default is FALSE. On the server-side, it's on the programmer to send this kind of cookie only on secure connection (e.g. with respect to $_SERVER["HTTPS"]).

Re: It Is Not A Bug, Question...

Ok... Thanks a lot Smartys! Dante

[img]http://img154.imageshack.us/img154/1262/wwzdx9.png[/img]
[img]http://img517.imageshack.us/img517/1542/dante90bu4.jpg[/img]
[img]http://img522.imageshack.us/img522/5276/eurohackersuserbarnb4.gif[/img]