Jump to content
php.lv forumi

Cookie


gta1151

Recommended Posts

Uzstaisiju login skriptu ar cookie viņs kad eju profila met Header allready send.

Cōkies to me? :O Nav Tev tur ar sessijam šī problēma? Kūrā rindā jau aizsūtīts pirmais headeris? Kāda ir tā rinda un kas ir pēc tam.. :D Parādi skripteli? :?

Link to comment
Share on other sites

Error <b>Warning</b>: Cannot modify header information - headers already sent by (output started at E:\Program Files\xampp\htdocs\include\header.php:5) in <b>E:\Program Files\xampp\htdocs\include\header.php</b> on line <b>22</b><br />

 

5 rinda <title><?php echo nosaukums; ?>//<?php echo $lapa; ?></title>

22 rinda setcookie("id",$id, time()+99999999);

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...