Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Php Problem...need A Guru!, rean on...
ddwyer50
post 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?
Go to the top of the page
 
+Quote Post
LuciferStar
post 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
Go to the top of the page
 
+Quote Post
FaLgoR
post 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?
Go to the top of the page
 
+Quote Post
stevey
post 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...
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Did You Face Problem Opening Pdf With Firefox?(15)
  2. 60 Seconds Countdown That Shutdown The Pc(15)
  3. Problem Installing Sims 2 Nightlife(26)
  4. I Have A Girl Problem Here(27)
  5. Upload Component - Failed(6)
  6. Problem With Page Redirect(8)
  7. Php Header Problem(11)
  8. Remote Assistance Problem(9)
  9. Laptop Keyboard Problem(8)
  10. Skype / Xampp Port Conflict(5)
  11. Dandruff Problem(29)
  12. Sharing Files And Printer Between Windows Vista And Xp(9)
  13. Pop-up Virus / Trojan Problem(10)
  14. How Many More Times Will I Have To Post About This?(11)
  15. Domain Problem : This Is Important..(0)
  1. Browser Compatibility Problem With Firefox - Javascript + Css(3)
  2. Terminating Hosting Problem(1)
  3. Problem With My Girlfriend Family, Need Suggestions For Action(2)
  4. Firefox 3 Cookies Problem(4)
  5. Hosting Credits Problem? [resolved](9)
  6. Counter Strike Problem(2)
  7. Problem With The Trap17 Forum(4)
  8. Attachment Problem In Pmwiki(0)
  9. What Is My (power) Problem?(4)
  10. Problem With Hosting(4)
  11. Problem Concerning Credits Reduced(12)
  12. Problem With My Pc(2)
  13. Billing Problem. Plz Help(2)


 



- Lo-Fi Version Time is now: 13th October 2008 - 10:27 AM