Clean Url Clean Keywords Function Clean_url Clean_keywords Keyword



Clean Url Clean Keywords Function Clean_url Clean_keywords Keyword
Clean Url Clean Keywords Function Clean_url Clean_keywords Keyword
Post Description:
Post Tags: clean, url, clean, keywords, function, clean, url, clean, keywords, keyword
This Post Has Been Viewed 132 Times Since Tue Apr 15, 2008 10:50 am Posted By hostman with 0 replies
Clean Url Clean Keywords Function Clean_url Clean_keywords Keyword
this function or class is used to clean words for ready for the meta tags keywords

function clean_url($text)
{
#### FUNCTION BY WWW.WEBUNE.COM AND WALLPAPERAMA.COM
## PLEASE DO NOT REMOVE THIS.. THANK YOU

$text=strtolower($text);
$code_entities_match = array( '&quot;' ,'!' ,'@' ,'#' ,'$' ,'%' ,'^' ,'&' ,'*' ,'(' ,')' ,'+' ,'{' ,'}' ,'|' ,':' ,'"' ,'<' ,'>' ,'?' ,'[' ,']' ,'' ,';' ,"'" ,',' ,'.' ,'_' ,'/' ,'*' ,'+' ,'~' ,'`' ,'=' ,' ' ,'---' ,'--','--');
$code_entities_replace = array('' ,'-' ,'-' ,'' ,'' ,'' ,'-' ,'-' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'-' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'-' ,'' ,'-' ,'-' ,'' ,'' ,'' ,'' ,'' ,'-' ,'-' ,'-','-');
$text = str_replace($code_entities_match, $code_entities_replace, $text);
return $text;
}
function clean_keywords($keywords){
$keywords = clean_url($keywords);
$keywords = str_replace(".","",strtolower($keywords));
$keywords = str_replace("-"," ",$keywords);
$keywords = str_replace(" ",", ",$keywords);
$keywords = str_replace(",,",",",$keywords);
return $keywords;
}

Leave Your Comments     [ dejar commentarios ]
  * Name     [nombre]

  * eMail (will not be published)     [coreo electronico]

* Enter Your Reply or Comments:    [commentarios]


Add Picture To Comments         [incluir foto]
YES NO             upload
Receive Replies on my Comments (An email will be sent to you when someone replies to your comments)

     

Comments and replies About Clean Url Clean Keywords Function Clean_url Clean_keywords Keyword




(0) Comments