[PHP] Permission issues with fopen on window xp pro.

2003-04-06 Thread Paul Kraus
I am working with chapter 10 in wrox Beginning php 4 book. I am running my test system on windows XP pro. I believe this error is due to a permissions setting. But when I look at the properties for the default web page read write and scripts are all checked. Error: Warning: fopen(./counter.dat)

[PHP] Cookies not being read - begging php 4 chapter 8 pg 283

2003-04-04 Thread Paul Kraus
thought I could just echo face=$_POST['type_sel'] - but it does not work. if ( $_POST['type_sel'] ) echo face= . $_POST['type_sel'] . ; if ( $_POST['size_sel'] ) echo size= . $_POST['size_sel'] . ; Paul Kraus Code ?php //cookies.php if ($_POST['type_sel']) setcookie (font['type'], $_POST

RE: [PHP] Cookies not being read - begging php 4 chapter 8 pg 283

2003-04-04 Thread Paul Kraus
the lines there do I need to turn of warnings or something? Paul -Original Message- From: Paul Kraus [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 9:42 AM To: [EMAIL PROTECTED] Subject: [PHP] Cookies not being read - begging php 4 chapter 8 pg 283 I am working through

RE: [PHP] Cookies not being read - begging php 4 chapter 8 pg 283

2003-04-04 Thread Paul Kraus
Long... I have included everything in an attempt not to leave anything out. I think this book is dated and causing me some issues. Following is data before and after form data My source Code The php generated source code. Paul Kraus I have made the changes. Here is my output before any form

RE: [PHP] Cookies not being read - begging php 4 chapter 8 pg 283

2003-04-04 Thread Paul Kraus
an array? This book does not mention HTTP_COOKIE_VARS at all. Nor did it mention $_POST or $_GET. Am I doing something wrong with my script do I need to change something? Is there a new way to do $HTTP_COOKIE_VARS like there is for POST and GET? -Original Message- From: Paul Kraus