I have a form on my website which will has the following fields, on submit it sends me an email but i would also like it to create a file.
When a user submits the form i would like it to create a php file using the question and put it in a specified folder.
Question: what are ways of advertising
auto create php file in the specified folder. [url removed, login to view]
I would like the php file that is created to have additional info from a template.
I would also like the question and the message in the php file as you can see above %question% %message%
I don't want the script to post the email address to the file.
<?php $pagetitle = "%question%"; $keywords = ""; $description = "Description."; $ads = file_get_contents("../ads/square.php"); include("../include/head.php"); ?>
<?php include("../include/foot.php"); ?>
15 Freelancer bietetn im Durchschnitt £91 für diesen Job an
I think it can be done. I think you should store the template on the site and we can read it, replace values and save it as a new file as required. Destination Folder remains same all the time?
hi bro .. i am a Experinced Freelance , plz tell me about project details,, then i can start your work [url removed, login to view] Regards Zeeshan Malik