Jump to content
xisto Community
ddwyer50

Php Problem...need A Guru! rean on...

Recommended Posts

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><?phpchecks 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?

Share this post


Link to post
Share on other sites

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

<?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...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.