Courtesy Of GA Media Corporation and http://www.sourcecoding.com
http://www.sourcecoding.com/hostedtgp.zip
The above file contains the script to generate a tgp page every day by cron on your server which will list 1000's of hosted galleries along with a description, text link and, pic count for each of the galleries you place inside the data.txt file.
We have been running this script for around 3 months now and have managed to get a few decent search engine listings with it.
To use the script, you need to create a directory on your server, upload the template.html (after placing your own layout in it), data.txt (after placing your own gallery urls, descriptions, text links and pic counts in it) and, doit.php file.
To generate your first tgp page you need to call doit.php in your browser in the following manner:
http://www.yourdomain.com/subdirectory/doit.php
If the page has been successfully generated you will see a random number in the browser window.
You should then go to:
http://www.yourdomain.com/subdirectory/index.php and view your page.
To run this script via cron job you need to run a cron on the locaton of doit.php how ever often you wish to have a new page generated.
Running doit.php another time after the first page generation will create a NEW index.php file and rename the original to index1.php
Enjoy
Dont forget to visit http://www.sourcecoding.com for all your custom programming needs
http://www.sourcecoding.com/hostedtgp.zip
The above file contains the script to generate a tgp page every day by cron on your server which will list 1000's of hosted galleries along with a description, text link and, pic count for each of the galleries you place inside the data.txt file.
We have been running this script for around 3 months now and have managed to get a few decent search engine listings with it.
To use the script, you need to create a directory on your server, upload the template.html (after placing your own layout in it), data.txt (after placing your own gallery urls, descriptions, text links and pic counts in it) and, doit.php file.
To generate your first tgp page you need to call doit.php in your browser in the following manner:
http://www.yourdomain.com/subdirectory/doit.php
If the page has been successfully generated you will see a random number in the browser window.
You should then go to:
http://www.yourdomain.com/subdirectory/index.php and view your page.
To run this script via cron job you need to run a cron on the locaton of doit.php how ever often you wish to have a new page generated.
Running doit.php another time after the first page generation will create a NEW index.php file and rename the original to index1.php
Enjoy
Dont forget to visit http://www.sourcecoding.com for all your custom programming needs



Comment