Current location: Hot Scripts Forums » Programming Languages » PHP » Cookies! (Wrong froum?)


Cookies! (Wrong froum?)

Reply
  #1 (permalink)  
Old 06-22-04, 09:19 AM
steveo steveo is offline
Wannabe Coder
 
Join Date: Jun 2004
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Cookies! (Wrong froum?)

Well, i'm a total newbie to Cookies. So I wanted a little help. ^_^

I'm also not sure if Cookies are under HTML, or something. Well anyway. I have this page, with a into and it's got a long movie of flash. I want to be able for poeple to enter and see it once, and never see it again until they delete their cookies. Is this possible?
Reply With Quote
  #2 (permalink)  
Old 06-22-04, 11:04 AM
NeverMind's Avatar
NeverMind NeverMind is offline
Community VIP
 
Join Date: Aug 2003
Location: K.S.A
Posts: 2,257
Thanks: 0
Thanked 2 Times in 1 Post
yes, it's possible, but setting cookies can be done in many ways!
but defintily not just plain HTML!
php, asp, javascript .. etc can set cookies and handel them ..
__________________
PHPSimplicity
We don't need a reason to help people - Zidane [FF9]
Reply With Quote
  #3 (permalink)  
Old 06-24-04, 05:25 AM
steveo steveo is offline
Wannabe Coder
 
Join Date: Jun 2004
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Well, let's say PHP then! Hows it done?
Reply With Quote
  #4 (permalink)  
Old 06-24-04, 06:01 AM
NeverMind's Avatar
NeverMind NeverMind is offline
Community VIP
 
Join Date: Aug 2003
Location: K.S.A
Posts: 2,257
Thanks: 0
Thanked 2 Times in 1 Post
PHP Code:

setcookie$cookiename $cookievalue $dateofexpiration$path $domainname); 

more info:
http://www.php.net/manual/en/function.setcookie.php
__________________
PHPSimplicity
We don't need a reason to help people - Zidane [FF9]
Reply With Quote
  #5 (permalink)  
Old 06-24-04, 06:14 AM
snaip's Avatar
snaip snaip is offline
iNET Interactive
 
Join Date: Nov 2003
Posts: 997
Thanks: 2
Thanked 7 Times in 6 Posts
Here are some articles to get you started:

http://www.devpapers.com/category/81
__________________
Regards,
Ahmad Permessur
Team HotScripts
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help seeting and reading cookies... Eclipse PHP 1 06-03-04 05:01 PM
This is a very simple script that wont work..Please tell me what is wrong with it. ^^ fusion Script Requests 1 06-03-04 10:19 AM
cookies....how do I use them?? cwg25 HTML/XHTML/XML 5 03-05-04 10:25 AM
Delete cookies regardless of case. AussierulesOK JavaScript 1 11-08-03 10:15 AM
Can't seem to get the cookies to the cookie_jar benny666 Perl 1 10-28-03 04:54 AM


All times are GMT -5. The time now is 05:03 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.