Reply to Re: PHP EMail Form and set cookie

Your name:

Reply:


Posted by Jerry Stuckle on 08/23/07 15:21

pete.brooker@gmail.com wrote:
> Hi,
>
> Being new to PHP & cookies, I am looking to write an email form, where
> a user can choose their name from a drop down list, fill in the
> content of the email and hit send and the email will be from that
> user.
>
> Then the next time they visit the page, I want to be able to read that
> cookie and preset the From part of the email from the cookie.
>
> But I have no clue where to start and can't find any examples of the
> web.
>
> If anyone can help out or point me at a script that has this I'd be
> very grateful.
>
> Many thanks
> Pete
>

It's pretty easy - you can start at:

http://us.php.net/manual/en/features.cookies.php

Just keep in mind you can't control cookie behavior on the browser end.
For instance, my browser is set up to destroy all cookies when I close
it (except for sites I specify).

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация