Re: [PHP] fread and session vars

2002-05-27 Thread Zac Hillier
res 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. > &g

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

Re: [PHP] fread and session vars

2002-05-27 Thread Zac Hillier
p.html') . " for writing. Static page update aborted!"); exit(); } #write to temp file fwrite($tempfile, $htmldata); # close the temp file fclose($tempfile); etc... === create-page.php: To: "'Zac Hillier'&qu

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