• 10-05-2009, 14:16:33
    #1
    Aşadaki kodları xml yazdırmak istiyorum arkadaşlar ama hata veriyor php sayfa ile aşadaki kodları xml olarak yazdırmak istiyorm yardımcı olan arkadaşlara şimdiden teşekkürler.

    <?xml version="1.0" encoding="UTF-8" ?>
    <flash_parameters>
        <preferences>
            <global>
                <basic_property movieWidth="459" movieHeight="289" decoration="res/camera.swf" html_title="Title" loadStyle="Pie" startAutoPlay="true" continuum="true" anvsoftMenu="false" backgroundColor="0x002780" hideAdobeMenu="false" photoDynamicShow="false" enableURL="true" transitionArray=""/>
                <title_property showTitle="true" photoTitleColor="0xfffbf0" backgroundColor="0x800000" alpha="100" autoHide="false"/>
                <music_property path="" stream="false" loop="false"/>
                <photo_property topPadding="0" bottomPadding="0" leftPadding="0" rightPadding="0"/>
                <properties enable="true" backgroundColor="0xffffff" backgroundAlpha="30" cssText="a:link{text-decoration: underline;} a:hover{color:#ff0000; text-decoration: none;} a:active{color:#0000ff;text-decoration: none;} .blue {color:#0000ff; font-size:15px; font-style:italic; text-decoration: underline;} .body{color:#ff5500;font-size:20px;}" align="top"/>
            </global>
            <thumbnail>
                <basic_property showPreview="false" backgroundColor="0x800000" backgroundAlpha="100" buttonColor="0xffffff" numberColor="0x000000" currentNumberColor="0xffffff"/>
            </thumbnail>
        </preferences>
        <album>
            <slide jpegURL="thumbs/t_0001.jpg" d_URL="images_up/<?=$resim[0]?>" transition="36" panzoom="1" URLTarget="2" phototime="2" url="<?=sil($kategorim[0])?>/<?=$haberid[0]?>-<?=sil($baslik[0])?>.html" title="<?=substr($baslik[0],0,42)?>" width="459" height="289"></slide>
            <slide jpegURL="thumbs/t_0002.jpg" d_URL="images_up/<?=$resim[1]?>" transition="36" panzoom="1" URLTarget="2" phototime="2" url="<?=sil($kategorim[1])?>/<?=$haberid[1]?>-<?=sil($baslik[1])?>.html" title="<?=substr($baslik[1],0,42)?>" width="459" height="289"></slide>
            <slide jpegURL="thumbs/t_0003.jpg" d_URL="images_up/<?=$resim[2]?>" transition="36" panzoom="1" URLTarget="2" phototime="2" url="<?=sil($kategorim[2])?>/<?=$haberid[2]?>-<?=sil($baslik[2])?>.html" title="<?=substr($baslik[2],0,42)?>" width="459" height="289"></slide>
            <slide jpegURL="thumbs/t_0004.jpg" d_URL="images_up/<?=$resim[3]?>" transition="36" panzoom="1" URLTarget="2" phototime="2" url="<?=sil($kategorim[3])?>/<?=$haberid[3]?>-<?=sil($baslik[3])?>.html" title="<?=substr($baslik[3],0,42)?>" width="459" height="289"></slide>
            <slide jpegURL="thumbs/t_0005.jpg" d_URL="images_up/<?=$resim[4]?>" transition="36" panzoom="1" URLTarget="2" phototime="2" url="<?=sil($kategorim[4])?>/<?=$haberid[4]?>-<?=sil($baslik[4])?>.html" title="<?=substr($baslik[4],0,42)?>" width="459" height="289"></slide>
            <slide jpegURL="thumbs/t_0006.jpg" d_URL="images_up/<?=$resim[5]?>" transition="36" panzoom="1" URLTarget="2" phototime="2" url="<?=sil($kategorim[5])?>/<?=$haberid[5]?>-<?=sil($baslik[5])?>.html" title="<?=substr($baslik[5],0,42)?>" width="459" height="289"></slide>
            <slide jpegURL="thumbs/t_0007.jpg" d_URL="images_up/<?=$resim[6]?>" transition="36" panzoom="1" URLTarget="2" phototime="2" url="<?=sil($kategorim[6])?>/<?=$haberid[6]?>-<?=sil($baslik[6])?>.html" title="<?=substr($baslik[6],0,42)?>" width="459" height="289"></slide>
            <slide jpegURL="thumbs/t_0008.jpg" d_URL="images_up/<?=$resim[7]?>" transition="36" panzoom="1" URLTarget="2" phototime="2" url="<?=sil($kategorim[7])?>/<?=$haberid[7]?>-<?=sil($baslik[7])?>.html" title="<?=substr($baslik[7],0,42)?>" width="459" height="289"></slide>
        </album>
    </flash_parameters>
  • 10-05-2009, 14:28:01
    #2
    ne tür bir hata alıyorsunuz ?

    Ayrıca bu şekilde değil de size tavsiyem dosya.xml sayfasını dosya.php olarak yapıp htaacces ile xml dosyasını php olarak okutmanızdır. Böylece normal php kodları ile işinizi. daha rahat yapabilirsiniz
  • 10-05-2009, 15:15:27
    #3
    oktay adlı üyeden alıntı: mesajı görüntüle
    ne tür bir hata alıyorsunuz ?
    Ayrıca bu şekilde değil de size tavsiyem dosya.xml sayfasını dosya.php olarak yapıp htaacces ile xml dosyasını php olarak okutmanızdır. Böylece normal php kodları ile işinizi. daha rahat yapabilirsiniz
    Aldıgım hata
    Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in
    böle bir hata yukarıdaki kodu xml olarak çıkaramadım gitti dediginiz gibi php olarak calıştırıyorum zaten php olarak görüm xml olarak halledecem