Hey DaniWeb! You've proved to be a reliable resource before so let's see if you can come through again.
I have a script which creates a dynamic image and posts values to the image that are pulled from an SQL database. For various reasons, I have to create a folder called "<username>.png" (using mkdir()) for each user that requests a signature. I then create an index.php file within this folder that tells the dynamic image what to do. I'd like to be able to create this file while keeping some variables in plain text and others translated into their correct values. I thought maybe this would work:
$string = "$blahblah " . $blah . " $foo";
... where $string would be the content of the new file. However, the variables in quotes are translated by the server and I am unable to keep their original formatting. How would you guys go about this?