Php converts html into wmlWAP markup language without source code and Demonstration: source code source demonstration source? Php prepare Html mark WAP language ------------------------------------------ functionhtml2wml ($ content) {retain image preg_match_all (img ([^] *) isU,
Php converts html into wmlWAP markup language without source code and Demonstration: source code source demonstration source? Php // tags // Html tag WAP language // ---------------------------------------------- function html2wml ($ content) {// retain the image preg_match_all ("/img ([^] *)/isU ",
Php converts html to wml WAP Markup Language <无>
Source code and demo:Source code source demonstration Source
/IsU ", $ content, $ imgarr); if (isset ($ imgarr [0]) & count ($ imgarr [0])> 0) {foreach ($ imgarr [0] as $ k => $ v) $ content = str_replace ($ v, "WAP-IMG ::{$ k}", $ content );} // filter out the style sheet and script $ content = preg_replace ("/