Jul 26, 2008

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

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > PHP Programming

free web hosting

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

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

Reply

LuciferStar
****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!

Reply

FaLgoR
this quote is not needed... get char in the post with this suck, everybody is doing it :/
where the admin is?

Reply

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

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : php guru rean


    Looking for php, problem, guru, rean

Searching Video's for php, problem, guru, rean
advertisement



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



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE