Latest Tutorial

string to url slug convert in phpstring to url slug convert in php

Function: function create_slug($string, $ext='.html'){     $replace = '-';       $string = strtolower($string);     //remove query string     if(preg_match("#^http(s)?://[a-z0-9-_.]+\.[a-z]{2,4}#i",$string)){         $parsed_url = parse_url($string);         $string = $parsed_url['host'].' '.$pars…

Read more »
23Dec2013
123 ... 10»
 
Top
Blogger Template