cookies?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply

Cookies or IP save for Guestbooks?

Poll ended at Thu Jul 11, 2002 12:42 pm

Cookies
6
86%
IP saver
1
14%
 
Total votes: 7

JH2000
Forum Newbie
Posts: 3
Joined: Thu Jul 04, 2002 12:42 pm
Location: Kiel Germany

cookies?

Post by JH2000 »

Hi,
How can i make cookies for my guestbook.
a few people make hundreds of posts to make me angry.
Please write an complete script (<?php to ?> ).
You can post it @ my guestbook @ JH2000.de.vu/GB/texteingabe.php
thx
User avatar
llimllib
Moderator
Posts: 466
Joined: Mon Jul 01, 2002 2:19 pm
Location: Baltimore, MD

Post by llimllib »

Dude, just a bit of friendly advice. asking people to write a complete script is not going to go over well. If you'd like to ask for advice so that we can aid you in learning, as opposed to giving you our work for free, we would most likely be much more receptive to that.
User avatar
kilren
Forum Newbie
Posts: 5
Joined: Fri Jul 05, 2002 8:24 am
Location: FRANCE - Aix En Provence

Post by kilren »

OKi I wrote you a script then you gave me your salary! :lol:

Ask people for advice or help is one thing. Sharing experience make us more efficient.
Asking them to work for you and for free is Slavery and a nonsense to open source phylosophy
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Not going to write you a script but will poke you in the direction you should be going:
  • setcookie() to set the cookie;
  • $_COOKIE is the array that will contain information about the cookies that your website has set.
I'm not sure why you thought that anybody would rush to help you after being told that they must write a complete script. Not only do we know nothing about your guestbook code which would make writing something to integrate with it a bit of a pain but you have made no attempt at doing anything yourself.

Mac
User avatar
llimllib
Moderator
Posts: 466
Joined: Mon Jul 01, 2002 2:19 pm
Location: Baltimore, MD

Post by llimllib »

reference http://www.devnetwork.net/forums/viewtopic.php?t=1315, a discussion we've already had about doing jobs for little/no money.
JH2000
Forum Newbie
Posts: 3
Joined: Thu Jul 04, 2002 12:42 pm
Location: Kiel Germany

sorry

Post by JH2000 »

okay sorry for that, but often people don´t write small things and then all doesn´t work.
Thx for Help. I have found an script for my problem!
Post Reply