[PHP] fread and session vars

2002-05-27 Thread Zac Hillier
Hi all, I'm using the fread function to read one of my php scripts and then produce a static page, within this script I'm using session variables. If I browse to the script normally then all appears to work correctly, however when I use the fread function the session variables are not being

RE: [PHP] fread and session vars

2002-05-27 Thread John Holmes
Post some code. I don't understand completely what you're trying to do or how you're trying to do it. ---John Holmes... -Original Message- From: Zac Hillier [mailto:[EMAIL PROTECTED]] Sent: Monday, May 27, 2002 9:20 AM To: [EMAIL PROTECTED] Subject: [PHP] fread and session vars

Re: [PHP] fread and session vars

2002-05-27 Thread Zac Hillier
in the generate script code above, but works when I browse to it. Hope this makes more sense. Zac - Original Message - From: John Holmes [EMAIL PROTECTED] To: 'Zac Hillier' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, May 27, 2002 3:28 PM Subject: RE: [PHP] fread and session vars Post some

RE: [PHP] fread and session vars

2002-05-27 Thread John Holmes
Hi. Code: generate page script: $pge = create-page.php $pd = $HTTP_GET_VARS['pd']; # Set the files $crtPge = /. $pge .?pd=. $pd; # the url of the dynamic page to write the output page $targetfilename = $SITE_ DOCUMENT_ROOT . $outPge; # the output page # delete previous version

Re: [PHP] fread and session vars

2002-05-27 Thread Zac Hillier
a session variable. Zac - Original Message - From: John Holmes [EMAIL PROTECTED] To: 'Zac Hillier' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, May 27, 2002 7:12 PM Subject: RE: [PHP] fread and session vars Hi. Code: generate page script: $pge = create-page.php $pd