Hi - I'm trying to place a print function inside an fputs. Unfortuately this process strips out the correct \ around my " so that the print won't parse correctly. I've included the code and the result below. ANy help is appriciated...
chdir("indeximages");
$size = GetImageSize("$file");
$includeFile = fopen("indeximage.php3","w+");
fputs($includeFile,"<? print(\"$file width=\"$size[0]\" height=\"$size[1]\"\"); ?>");
fclose($includeFile);
Result:
<? print("Worship-Summer_School.jpg width="302" height="302""); ?>