Posts

Showing posts with the label XML

Get XML feed data

$file = "http://xml.altinkaynak.com/doviz.xml"; function startElement($parser, $name, $attrs) { global $ShwText; if($name == 'DOVIZ') $ShwText .= " "; } function endElement($parser, $name) { global $ShwText; if($name == 'DOVIZ') $ShwText .= " "; } function characterData($parser, $data) { global $ShwText; if($data != '') $ShwText .= " ".$data." "; } $ShwText = " "; $xml_parser = xml_parser_create(); xml_parser_set_option($xml_parser, XML_OPTION_CASE_FOLDING, true); xml_set_element_handler($xml_parser, "startElement", "endElement"); xml_set_character_data_handler($xml_parser, "characterData"); if (!($fp = fopen($file, "r"))) { die("AltınKaynak XML yüklenemedi. "); $ShwText = ""; } while ($data = fread($fp, 4096)) { if (!xml_parse($xml_parser, $data, feof($fp))) { die(sprintf("XML Yüklenme hatası : %s...

XML CREATION PHP

ini_set("display_errors","off"); $reply_date= date("Y-m-d h:m:s a"); am,pm list($favcomic_photo_width, $favcomic_photo_height) = getimagesize("$favcomic_photo_getsize"); ----------------- --------------------------------------------------------------------- if(strlen($best_time) > 20) { $best_time = substr($t_record['best_time'],0,20)."..."; } ---------------------------------------------------------------------- ----------------------------------------------------------------------- -------------------------------------------------------------------------- $content = ' '; $content.="\n"; $content.=' '; $content.="\n"; $in="select * from `worldview_categories` order by `categoryname` asc"; $out=mysql_query($in); while($record=mysql_fetch_array($out)){ $in1="select * from `worldview_xml_flashimages` where `type`='".$reco...

POPULAR POSTS ::

JOIN QUERY

Add multiple upload box

HTML and PHP INTRODUCTION

The top Web development PHP frameworks

Mobile App Development Trends: Emerging Technologies and Innovations

String Separation