Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Cookie help

Asked Modified Viewed 8,173 times
W
wtfaatp
W
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
asked
Newbie

Hello all :D,

I am trying to do something unique and a lil different form my allied sites. Here I go:

I have a page set up that has to buttons at the bottom. one says "Agree" the other says "Denie".
If you press the Agree it send you to the main page. if you press denie you get sent to a sponsor. I would like to set it up so that if you have been to the site before and clicked on agree you automaticly go to the main page or news.php. If you have been to this page befor and clicked denie nothing happends and you get to choose agin. Is this posible to do? I have been reading around with the set cookie as that is what i have been told to do but it dose not work for me :( any help this is my default code.
<html>
<head>
<title>Shipoopi's Code of Conducts</title>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' />
<meta name='description' content='Code of Conducts' />
<meta name='keywords' content='CoC' />
<style type='text/css'>
html, body { height:100%; }.aa {
font-size: 12px;
}
</style>
<link rel='stylesheet' href='themes/GameManiacs2/styles.css' type='text/css' />
</head>
<body class='tbl2 setuser_body'>
<table width="88%" style='width:100%;height:100%'>
<tr>
<td>

<table width='85%' height="358" cellpadding='0' cellspacing='1' class='tbl-border center'>
<tr>
<td class='tbl1'><div style='text-align:center; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;'>
<!--setuser_pre_logo-->
<br />
<img src='images/banner.png' alt='Shipoopi's website' /><br />
<br />
<h1 align="center" class="shoutbox"><strong>Welcome</strong></h1>
<p align="center" class="comment-name"><strong>This is shipoopi (wtf)'s website.</strong></p>
<p align="center" class="comment-name"><strong>Please read and understand the following.</strong><br>
<br>
</p>
<center><div style="overflow:auto; height:155px; width:600px"><table cellpadding="0" cellspacing="0" style="width:570px;"><tr><td>
<center><p>You agree, through your use of this site, that you will not post any material which is false, defamatory, inaccurate, abusive, vulgar, hateful, harassing, obscene, profane, sexually oriented, threatening, invasive of a person's privacy, or otherwise in violation of any International or United States Federal law. You also agree not to post any copyrighted material unless you own the copyright or you have written consent from the owner of the copyrighted material. Spam, flooding, advertisements, chain letters, pyramid schemes, and solicitations are also forbidden on this forum.</p>
<p>Note that it is impossible for the staff or the owners of this forum to confirm the validity of posts. Please remember that we do not actively monitor the posted messages, and as such, are not responsible for the content contained within. We do not warrant the accuracy, completeness, or usefulness of any information presented. The posted messages express the views of the author, and not necessarily the views of this forum, its staff, its subsidiaries, or this forum's owner. Anyone who feels that a posted message is objectionable is encouraged to notify an administrator or moderator of this forum immediately. The staff and the owner of this forum reserve the right to remove objectionable content, within a reasonable time frame, if they determine that removal is necessary. This is a manual process, however, please realize that they may not be able to remove or edit particular messages immediately. This policy applies to member profile information as well.</p>
<p>You remain solely responsible for the content of your posted messages. Furthermore, you agree to indemnify and hold harmless the owners of this forum, any related websites to this forum, its staff, and its subsidiaries. The owners of this forum also reserve the right to reveal your identity (or any other related information collected on this service) in the event of a formal complaint or legal action arising from any situation caused by your use of this forum.</p>
<p>You have the ability, as you register, to choose your username. With this user account you are about to register, you agree to never give your password out to another person except an administrator, for your protection and for validity reasons. You also agree to NEVER use another person's account for any reason. We also HIGHLY recommend you use a complex and unique password for your account, to prevent account theft.</p>
<p>After you register and login to this forum, you will be able to fill out a detailed profile. It is your responsibility to present clean and accurate information. Any information the forum owner or staff determines to be inaccurate or vulgar in nature will be removed, with or without prior notice. Appropriate sanctions may be applicable.</p>
<p>Please note that with each post, your IP address is recorded, in the event that you need to be banned from this forum or your ISP contacted. This will only happen in the event of a major violation of this agreement.</p>
<p>Also note that the software places a cookie, a text file containing bits of information (such as your username and password), in your browser's cache. This is ONLY used to keep you logged in/out. The software does not collect or send any other form of information to your computer.</p>
<p>By selecting &quot;Agree&quot; you understand, and here by state, that you agree to follow and obey these terms. </p>
<p>Thank you for coming to our website and enjoy your stay.</p></center></td></tr></table></center></div>
<br />
<center>
<form name="input" action="index.php" method="open">
<input type="submit" class="comment-name" value="Agree" />
</form><form name="input" action="denied.php" method="open">
<input type="submit" class="comment-name" value="Disagree" />
</form>
</center>
</div></td>
</tr>

</table></td>
</tr>
</table>
</body>
</html




Any idea?
Edited by wtfaatp on 29-04-2009 23:14,
0 replies

1 post

W
wtfaatp
W
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Newbie

Anyone have any help for me?
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 1 post
  • Votes 0 votes
  • Topic users 1 member

1 participant

W
W
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet