Okay I am almost done with my project finally and im not sure how secure it really is but its a jumping off point and will see if the site ever gets any traffic if so many ill pay to have someone fix some things other wise it can wait while I keep learning but long story short I have it outputing a file
And I am having a bit of trouble with it.
here is my code
file_put_contents('DONE.html', '<html><?php include('config.php'); </html>');
But as im sure you can see my issue is that since this whole string is put into ‘ quotes it dosnt read the config.php correctly because it thinks it should be out of quotes how do I fix this cause I have a ton of ‘ And ” that need to be added to this and im not sure how to make my php script out put quotes.
Quote characters in strings delimited by the same character should be escaped with a reverse solidus / backslash character.