Jump to content

1000s pages wwebsite


chintoo

Recommended Posts

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 ?

Link to comment
Share on other sites

  • 1 month later...

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 by BuildMyWeb
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...