kamikaza2 Posted February 12, 2010 Report Share Posted February 12, 2010 (edited) Kāds nevarētu palīdzēt ar "kodu". Kā no netā novietota xml faila (www.te.kautkur/vins/ir.xml) varētu viņu "nokopēt" uz mysql datubāzi (kods tiktu palaists turpat kur atrodas mysql serveris). Edited February 12, 2010 by kamikaza2 Link to comment Share on other sites More sharing options...
DoubleT Posted February 12, 2010 Report Share Posted February 12, 2010 tu ķip Reverse Engineering domā? pārsēt citas lapas XML datus uz savu DB.? Link to comment Share on other sites More sharing options...
kamikaza2 Posted February 12, 2010 Author Report Share Posted February 12, 2010 Jā Link to comment Share on other sites More sharing options...
w4p1337 Posted February 12, 2010 Report Share Posted February 12, 2010 http://lv.php.net/xml aptradā datus, un tad ievadi mysql Link to comment Share on other sites More sharing options...
X ID Posted February 12, 2010 Report Share Posted February 12, 2010 Tās xml funkcijas baigi sūkā.. SimpleXML FTW Link to comment Share on other sites More sharing options...
kamikaza2 Posted February 12, 2010 Author Report Share Posted February 12, 2010 (edited) Ja vien es būtu tik zinoš, lai to mācētu... Kāds nevar kādu mazu piemēriņu uzmest? Edited February 12, 2010 by kamikaza2 Link to comment Share on other sites More sharing options...
X ID Posted February 13, 2010 Report Share Posted February 13, 2010 Rekur būs tev piemērs PHP <? try{ $xml = new SimpleXMLElement("www.te.kautkur/vins/ir.xml", null, true); print_r($xml); }catch( Exception $e){ echo $e->getMessage(); } ?> Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now