Archive for July 31st, 2007

Code to get the Meta Tags

Tuesday, July 31st, 2007

To get the metatags of a page :

<?php
// Assuming the above tags are at www.example.com
$tags = get_meta_tags(’http://www.example.com/’);

// Notice how the keys are all lowercase now, and
// how . was replaced by _ in the key.
echo $tags[’author’]; // name
echo $tags[’keywords’]; // php documentation
echo $tags[’description’]; // a php manual
echo $tags[’geo_position’]; // 49.33;-86.59
?>

Posted by Suresh B

Redirection in Html

Tuesday, July 31st, 2007

The code given below is used to redirect a page using html.

This will not work if the browser auto refresh is disabled.

<meta http-equiv=”refresh” content=”1; url=../”>

content = ? time in seconds to wait before redirection .

url= ? where the page must be redirected to .

Posted by Suresh B

Hello Tryangled buddies

Tuesday, July 31st, 2007

Welcome to tryangled blog. Here you can write blogs on issues related to the categories listed here. Put comments and new questions on the blog , are you ready then start blogging!

Posted by Mohamed Asif