Generating a php file

From: Date: Wed, 11 May 2005 13:32:25 +0000
Subject: Generating a php file
Groups: php.general 
Request: Send a blank email to php-general+get-214932@lists.php.net to get a copy of this message
Hi there I am trying to generate a php file, which has variables that i need to have in it ie $_SERVER but not actually be parsed as they need to be in the actual script. I also need to send some variables to assign values to other variables in the script. How is this possible ? I have tried placing the contents of the script within a string, but all the variables gets parsed, and the super globals cause an error. Let me know .

« previous php.general (#214932) next »