[linux-programlama] php dosyadan php yi cagirma header problemi

---------

From: Hasan Saral (hasansaral@introproduction.com)
Date: Sat 12 Jul 2003 - 01:06:39 EEST

  • Next message: Onur Yalazi: "[linux-programlama] Re: php dosyadan php yi cagirma header problemi"

    elimde ana.php ve include.php diye iki sayfa var. include.php baska bir serverde.

    include.php?mod=txt seklinde calistirirsam

    header ("Content-type: text/html; charset=utf-8");
    echo "deger1;deger2"

    komutlarini calistiriyorum.

    include.php?mod=xml seklinde calistirisam

    header ("Content-type: text/xml; charset=utf-8");
    echo "<test>deger</test>"

    komutlarini calistiriyorum.

    sorum su:

    ana.php icine include.php yi header komutu duzgun calisacak sekilde nasil ekleyebilirim. cunku include require fopen fpasstru bunlarin hic biri bana dogru deger dondurmuyor. her sey duzgun calisiyor fakat include.php icindeki gonderdigim header komutu islevsiz kaliyor. (include.php yi direkt cagirirsam hersey dogru calisiyor)

    header('location: include.php?mod=xml') komutunu onermeyin onu kullanmamam gerekiyor.(donen degeri <img source=include.php?mod=binary> seklinde kullanacagim yerler olacak cunku).

    Bilmem anlatabildimmi yardimlarinizi bekliyorum. Herkese iyi calismalar.

    Hasan Saral


  • Next message: Onur Yalazi: "[linux-programlama] Re: php dosyadan php yi cagirma header problemi"

    ---------

    Bu arsiv hypermail 2.1.6 tarafindan uretilmistir.