RE: [PHP] newbie times out !

From: Date: Fri, 06 Oct 2000 22:19:48 +0000
Subject: RE: [PHP] newbie times out !
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-18993@lists.php.net to get a copy of this message
:-( nope, didnt work.. the program that has done the creating is on the server, not in a browser (kinda like CGI). Its part of a system I have constructed to allow use of HTML templates for displaying dynamic content... here is the code htat does he work... (note: the templates use a tilde "~" each side of a value that is to be stripped....) I stored the incoming data in $vardump array... $pgarray = file("$displaytemplate"); // this is the var that holds the template location $temp = join("`", $pgarray); while (list ($key, $value) = each ($vardump)) { $key = "~$key~"; $temp = ereg_replace($key, $value, $temp); } $newvar = explode("`",$temp); $plen = count($newvar); for ($a=0; $a<$plen; $a++) { echo "$newvar[$a]\n"; } but this loses session connectivity.... [snip]..... > > echo "$createdpage" ; - no good, php source is viewable in browser <? echo "$createdpage"; ?> ??? --Joe

« previous php.general (#18993) next »