chintoo Posted June 27, 2012 Report Share Posted June 27, 2012 1. Is there a way that i make a template and leave blank the content area and photos area. When user click on any link eg XYZ then any script/code ( javascript/PHP........) grabs the content from txt file and photos from photos folder and combine in a new page mywebsite.com/xyz.html or mywebsite.com/xyz.php. In this way i will not need to make thousand pages manually. 2. If this is possible then will google add such pages in search engine ? Quote Link to comment Share on other sites More sharing options...
BuildMyWeb Posted August 2, 2012 Report Share Posted August 2, 2012 (edited) 1. yes 2. yes php has several functions that can read from a .txt file. read this: http://www.php.net/manual/en/function.file.php you can also read the contents of a photo directory via something like: http://php.net/manual/en/function.scandir.php maybe a database would work better for you. not sure what your trying to accomplish here,.. in the larger picture but the above should give you some ideas to get you started. Edited August 2, 2012 by BuildMyWeb Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.