This project is to generate php files from a php template.
The inputs are
1. filenames for the php file outputs.
2. keywords that the user wants placed in specific areas of the php template file.
3. The php template that contains place holders for the keywords. This php template is just an html file.
4. Location of output (ie c:/desktop/myphpfiles/)
The output will be php files with filenames from the filename input. The php files themselves will look like the template file with the addition of the keywords appearing in the specified locations in the template php file.
abc1 keyword - apple
Abc2 keyword - Juice Cakes 1
ABc3 keyword - orange Pie 33
will be used for a php template file and the result will be 3 new php files named:
[url removed, login to view] file with keywords 'apple' in specific places
[url removed, login to view] file with keywords 'Juice Cakes 1' in specific places
[url removed, login to view] file with keywords 'orange Pie 33' in specific places
The template php file is something like below with the locations of the keywords marked with "<KEYWORDS>"
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta name="description" content="<KEYWORDS> - description here.">
<meta name="keywords" content="<KEYWORDS> - keywords here">
<title>Top Deals for <KEYWORDS> </title>
<body bgColor="#E2E2E2" Link="#BC2947" VLink="#BC2947">
The script should be able to run 50K files smoothly.
Please post in pmb. Thank you.