|
|
|
|
![]() ![]() |
Jan 31 2005, 05:39 AM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 4 Joined: 31-January 05 Member No.: 3,515 |
I'm coding a log-in page using PHP and mySQL. It works perfectly fine on any browser EXCEPT IE6... POS MS software. Anyway here's how the script is right now;
<html> <head> <title>Checking Log-In...</title> <link rel="P3Pv1" href="http://www.goldenribbontrading.com/p3p.xml"> ** mandatory link needed for IE6 to enable cookies. </head> <body> </body> </html> <?php checks the variables passed from form onto database, if vairables match; setcookies () auto redirect to new page ?> The current code produce a HTTP header conflicts. The mandatory IE6 header conflicts with setcookies() on HTTP header. Anybody that's smart enough willing to help out here? |
|
|
|
Jan 31 2005, 08:57 AM
Post
#2
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 114 Joined: 9-August 04 From: Suzhou Jiangsu China Member No.: 743 |
****please take this as a fair warning only quote when necessary****MOderAtOr***
MAKE SURE,before using setcookies() ,setsession AND/ORredirect, there should be no output! This post has been edited by stevey: Feb 1 2005, 12:20 AM |
|
|
|
Jan 31 2005, 06:35 PM
Post
#3
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 217 Joined: 2-January 05 Member No.: 3,084 |
this quote is not needed... get char in the post with this suck, everybody is doing it :/
where the admin is? |
|
|
|
Feb 1 2005, 12:18 AM
Post
#4
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 119 Joined: 12-July 04 From: london Member No.: 85 |
one thing you should note is that, when, using cookies you should put them at the very beggining before any out put is generated from your script so your script should be some thing like
CODE <?php //do some checks //register cookies ?> The rest of the html make sure you do that and trust me everything will run smothly , and about that mandatory link for cookies, i have never seen that for i.e . and im currently working on a site with cookies, and works fine without it. the place where you are prone to get problems with are destroying the cookies.. i had real trouble with that. if you need extra help , jus holla... |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 13th October 2008 - 10:27 AM |