Search found 4 matches

by mrclash
Mon Oct 25, 2004 10:48 am
Forum: PHP - Code
Topic: Problem with cookies and header() (newbie)
Replies: 7
Views: 921

I see...and is there a general solution if the browser handles the redirect before the cookies are set??

Thanks :)
by mrclash
Mon Oct 11, 2004 6:27 am
Forum: PHP - Code
Topic: Problem with cookies and header() (newbie)
Replies: 7
Views: 921

Problem with setcookie()

You can try it at http://www.mans-hq.net/igrafic/admin/signin.php.

Code: Select all

login: dev
password: dev00
I don't think that it is a problem with the browser, is Firefox 1.0PR with all cookie settings activated. I have revised it thousand times...

Thanx ;)
by mrclash
Sun Oct 10, 2004 8:58 am
Forum: PHP - Code
Topic: Problem with cookies and header() (newbie)
Replies: 7
Views: 921

Problem with cookies and header() (newbie)

Ok, I didn't try it before, the second page has nothing to do with the problem...In fact, I'm not setting the cookies, but I don't know why! setcookie ("iguser", md5($_POST['username']), $time+3200); setcookie ("igpass", md5($_POST['password']), $time+3200); if (isset($_COOKIE[&q...
by mrclash
Sat Oct 09, 2004 10:04 am
Forum: PHP - Code
Topic: Problem with cookies and header() (newbie)
Replies: 7
Views: 921

Problem with cookies and header() (newbie)

Hi, I'm having a problem with cookies. I use setcookie() in signmein.php to set 2 cookies and just after that I call header(): setcookie ("iguser", md5($_POSTї'username']), $time+3200); setcookie ("igpass", md5($_POSTї'password']), $time+3200); header ("L...