Wrox Programmer Forums
BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1
This is the forum to discuss the Wrox book Professional PHP5 by Ed Lecky-Thompson, Heow Eide-Goodman, Steven D. Nowicki, Alec Cove; ISBN: 9780764572821
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 1st, 2009, 03:30 AM
Authorized User
Join Date: Dec 2007
Posts: 65
Thanks: 9
Thanked 2 Times in 2 Posts
Send a message via AIM to sandeepgreaternoida Send a message via MSN to sandeepgreaternoida Send a message via Yahoo to sandeepgreaternoida
Default Beg.php5, page 112, Cookie

if ($_POST[type_sel]){
setcookie("font[type]", $_POST[type_sel], time()+3600);

my question is: here in the above ...code why the value is not in " ".

thanx !
sandeep gupta
Old May 8th, 2009, 03:13 PM
Authorized User
Join Date: Nov 2008
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default can you repeat the question again

Actually it sets a cookie with the name of the font type we selected.
setcookie(cookie name,value,expiry time);

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch4 pge 112. WebSiteAdminTool Security problem enzoinbath BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 November 17th, 2006 08:22 AM
Beg. PHP5 > Ch12 - User class - just some info weblaiverd BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 0 October 15th, 2006 10:25 AM
Chapter 13, can't do 1st example beg. page 481 mjoh44 JSP Basics 2 August 16th, 2004 09:51 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.