I would like demo code put together in PHP/HTML (apache) that accomplishes the following:
1. Assume a user browses and requests a web page. Such as [login to view URL]
2. Write a .htaccess file that uses url rewriting to direct the request to /zone1/[login to view URL] which will contain all of the php code to accomplish the following:
3. the function in [login to view URL] looks for a file called [login to view URL] or whatever the requested file is that matches the HTML request. If it does not exist then direct the request to a 404 response. If [login to view URL] does exist, then [login to view URL] is dynamically created and served. It is dynamically created as follows:
3a. Includes .css files from [login to view URL], [login to view URL] (from the web root and from the zone), and bootstrap styles/code that is in mysite/script/...
3b. includes a header that is named zone1/[login to view URL] (note that the zone matches the request)
3c. includes the content of the zone1/[login to view URL] file
3d. include a file named zone1/[login to view URL]
4. Include .httaccess rule that blocks access to all .phtml files (serve 404)
Just to be clear: [login to view URL] could be any file name. Do not hard code it. Get the file name from the URL requested from the user.
So in other words, a user can browse to any file in zone1 and if there is a .phtml version of that file, it is processed to add the header and footer and served as a html file.
directory structure:
[login to view URL]
[login to view URL]
[login to view URL](bootstrap files)
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
Note that I am not a php developer so if these instructions and this process needs to be modified to best accomplish the task then that is ok.
Deliver the demo site in a single zip file.
hello
i have over 10 years of experience on web development with LAMP environnement. i believe that i am qualified to take the job.
i guaratee a total satistaction with the result.
your requirement is clear, just need a litte explanation about something.
let's talk on private about details.
thank you
Hello,
I’m a pro full stack symfony and PHP developer. I’m currently working at an IT company as Technical director of the whole company. I have some free time per day. I'm willing to earn some more money by serving you with my skills.
$10 to $30 is a bit low for this project. I don't know if an amateur developer bid on your project but can they do it?
-
Hopefully I can help...
Thank you