Joseph Tinsley


Welcome to Josephtinsley.com, I am Joseph Tinsley. This site was created to host and highlight some of the scripts I have built, articles I have written, and and SEO techniques I have used. Please feel free to use, modify, or hack any code or documentation you find useful on this site.
You'll find that most if not all of these scripts are packaged into a zip format. You will need a zip utility to extract the file, I recommend 7 Zip.
 
 Google Sitemap Ping Script using CURL and PHP
Whenever you make a site/page change, this PHP/CURL based script can used to notify Google of your changes. You must initially have a Google Sitemap submitted to the program to make use if this code. Read more about the program here - http://www.google.com/support/webmasters/bin/answer.py?answer=34609&topic=8496
 Google Sitemap script.
This script reads the files within your directory and produces a Google Sitemap. A blacklist array is included to omit sensitive files from being added to your sitemap. To participate in the program you must have a Google Webmaster account. No databases required!
 Block users from accessing your webpage
This function can be used to slow aggravating users down from accessing your page. I place stress on the word slow because any determined users/hacker/spammer will eventually get to your site if they really wanted to.
 Get HTTP Status Code Using PHP and cURL
Very cool and easy way to grab the server HTTP status code using cURL. Please see for more information: http://us2.php.net/curl
 Scrape the Wayback Machine A.K.A archive.org.
The function pulls the numbers of results listed within the archive.org database. This information can be used to track the history of a domain.
Other sites I author