i search alot for this but can't find an aswer... I have made a working xml parser using php. till today i host my files on a free web host, and everything works just fine. today i got access to my college server and i host my files there.
i ücretsiz host olduğu gibi şimdi nedense .. ben çözümleyici iş yapamaz ...
look on those files please: working site:
xml file: [http://ofear.onlinewebshop.net/asce/calendar.xml]
çözümleyici çalışma şudur: [http://ofear.onlinewebshop.net/asce/calendar.php]
(Alt tablo o ibranice var, xml olur)
not working site:
xml dosyası: [http://apps.sce.ac.il/agoda/calendar.xml]
ayrıştırıcı değil çalışma şudur: [http://apps.sce.ac.il/agoda/calendar.php]
işe yaramıyor neden kimse bir fikrim var .. bu aynı dosyaları ve onlar çalışması gerekir.
maybe it a server problem?
calendar.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<events>
    <record>
        <event>ערב פתוח לקורס מורי דרך</event>
        <eventDate>30/12/2010</eventDate>
        <desc>בשלוחת תל אביב</desc>
    </record>
        <record>
        <event>כנס חיפה לתיירות - 2 : נכנס יין יצאה תיירות</event>
        <eventDate>22/12/2010</eventDate>
        <desc>המרכז לחקר התיירות בשיתוף בית הספר לתיירות בישראל שמחים להודיע על כנס חיפה לתיירות 2 שיתקיים בחיפה בתאריכים 22-23 בדצמבר 2010. השנה יוקדש הכנס לנושא "תיירות היין"</desc>
    </record>
        <record>
        <event>פתיחת קורס מפעילי תיירות - תל אביב</event>
        <eventDate>5/12/2010</eventDate>
        <desc>ימי ראשון 17:30-20:45</desc>
    </record>
</events>
ayrıştırıcı:
<?php
$doc = new DOMDocument();
$doc->load( 'calendar.xml' );
$events = $doc->getElementsByTagName( "record" );
foreach( $events as $record )
{
  $events = $record->getElementsByTagName( "event" );
  $event = $events->item(0)->nodeValue;
  $eventDates= $record->getElementsByTagName( "eventDate" );
  $eventDate= $eventDates->item(0)->nodeValue;
  $descs = $record->getElementsByTagName( "desc" );
  $desc = $descs->item(0)->nodeValue;
  echo "<tr><td>$event</td><td>$eventDate</td><td>$desc</td></tr>";
  }
?>
after a little debugging i saw that it's stop here: $doc = new DOMDocument(); and it's not doing anything after that. i think that the line above is the cos