Call us Toll-Free:
1-800-218-1525
Live ChatEmail us

 Sponsors

AutoMeta 1 0

Code Wizard, 12-30-2006

AutoMeta is a set of two functions that will make it easy for you to update your sites page description and the keywords without no particular effort other then editting two text files.

<?php
/* Auto-Meta v1.0 By System33r, root@g33k.net.
Easialy and instantly update all your meta tags with the use of two text files and the below PHP code. Could be modified to
be a footer script or something along that line.

instructions: put this code where your META Tags would normaly go
(in the <head> of the document) and create 2 ASCII Text files
keywords.txt and description.txt, then put your keywords and
description in the txt files
*/

function meta_desc() {
print "<META name="description" content="";
$read_des = readfile( "description.txt");
print "">";
} function meta_key() {
print "<META name="keywords" content="";
$read_key = readfile( "keywords.txt");
print "">";
}

meta_desc();
meta_key();
?>
Enjoyed this post?

Subscribe Now to receive new posts via Email as soon as they come out.

 Comments
Post your comments












Note: No link spamming! If your message contains link/s, it will NOT be published on the site before manually approved by one of our moderators.



About Us  |  Contact us  |  Privacy Policy  |  Terms & Conditions