Search found 7 matches

by kelvingeorge
Thu Mar 27, 2008 8:32 am
Forum: PHP - Code
Topic: cookie problem...
Replies: 1
Views: 58

cookie problem...

I'm having problem with cookie.. i'm using IE6 and seems there is a problem with the cookie.. it can echo the cookie value in one page and in the next page i cant... does any body know how to fix this???
by kelvingeorge
Fri Mar 21, 2008 6:25 pm
Forum: PHP - Code
Topic: Warning: Cannot modify header information ERROR
Replies: 5
Views: 158

Re: Warning: Cannot modify header information ERROR

Code: Select all

62 setcookie(ID_my_site, $_POST['username'], $hour);
63 setcookie(Key_my_site, $_POST['pass'], $hour);
64  
65 //then redirect them to the members area
66 header("Location: member.php");
by kelvingeorge
Fri Mar 21, 2008 6:04 pm
Forum: PHP - Code
Topic: Warning: Cannot modify header information ERROR
Replies: 5
Views: 158

Re: Warning: Cannot modify header information ERROR

$_POST['username'] = stripslashes($_POST['username']); $hour = time() + 3600; setcookie(ID_my_site, $_POST['username'], $hour); setcookie(Key_my_site, $_POST['pass'], $hour);   //then redirect them to the members area header("Location: member.php"); Thats the code... I get error for last ...
by kelvingeorge
Fri Mar 21, 2008 5:41 pm
Forum: PHP - Code
Topic: Warning: Cannot modify header information ERROR
Replies: 5
Views: 158

Warning: Cannot modify header information ERROR

Hi there.. I get this error Warning: Cannot modify header information - headers already sent by The code works fine in the main folder.. But the same code in the /admin folder it does not work.. :banghead: It gives the above error... So I put all pages in same main folder without any sub-folders.. T...
by kelvingeorge
Fri Feb 22, 2008 6:08 pm
Forum: PHP - Code
Topic: design issue..
Replies: 4
Views: 52

Re: design issue..

I did try that, the problem is it executes the next if block and a blank field is inserted into the db. I'm reading about output buffering.. Thanks
by kelvingeorge
Fri Feb 22, 2008 5:44 pm
Forum: PHP - Code
Topic: design issue..
Replies: 4
Views: 52

Re: design issue..

Its shows <td class="footer">&nbsp;</td>             </tr>             <tr>                 <td id="ft2">.....</td>             </tr> Required field cannot be left blank! Click back on the browser button. After that it does not show anything in the source.. 8O
by kelvingeorge
Fri Feb 22, 2008 4:19 pm
Forum: PHP - Code
Topic: design issue..
Replies: 4
Views: 52

design issue..

Mod | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] Hey there ...