[Linux-programlama] include ve exit

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Serbulent UNSAL (serbulentunsal@meds.ktu.edu.tr)
Date: Thu 14 Jul 2005 - 13:23:12 EEST


Merhaba,

Aşağıdaki iki küçük dosya ile bir dosayada bir değişkene ata mayapı bunu
otomatik olarak diğer dosyada göstermek istiyorum. Ancak 2. dosya 1.
dosyadaki yönlendirme yüzünden soznsuz dönüye giriyor. exit()
fonksiyonunun bu sorunu çözmesini beklerdim ancak başarılı olamıyorum.
Sizce hata nerede ? Yanıtlar için şimdiden teşekkürler. İyi günler.

oturum.php

<?php
$oturum="admin";
?>
<meta http-equiv="refresh" content="1;url=/oturum2.php">
<?php
exit();
?>

oturum2.php

<?php
include("./include/oturum.php");
echo $oturum;
exit();
?>

_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.