[linux-baslangic] Re: php de degisken gecisi

---------

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

From: Huseyin Gomleksizoglu (huseyin.gomleksizoglu@gmail.com)
Date: Thu 02 Sep 2004 - 17:00:58 EEST


degiskenler arasinda & isareti kullanarak adres uzerinden birden fazla
degiskeni gonderebilirsin.

www.deneme.com/deneme.php?degisken1=deger1&degisken2=deger2

seklinde.

On Thu, 2 Sep 2004 16:26:26 +0300, Dinçer Akay <dincer@sikayetvar.com>
 wrote:
>
> Aşağıda 3 tane değişken var. 3. formda göz
ükmez.
>
> <form name="form1" method="post" action="">
> <input name="a" type="text" value="<? echo $a; ?>">
> <input name="b" type="text" value="<? echo $b; ?>">
> <input name="c" type="hidden" value="<? echo $c; ?>">
> <input type="submit" name="Submit" value="Submit">
> </form>
>
> LİNKTE İSE
> foo
> veya
>
> echo "<a href='ehe.php?".$a."&".$b."'>foo</a>";
>
>
> -----Original Message-----
> From: linux-baslangic-bounce@liste.linux.org.tr
> [mailto:linux-baslangic-bounce@liste.linux.org.tr] On Behalf Of temiz
> Sent: Thursday, September 02, 2004 12:43 PM
> To: linux-baslangic@liste.linux.org.tr
> Subject: [linux-baslangic] Re: php de degisken gecisi
>
> kapsamli cevap icin tesekkur ederim. Uzerinde
> calisiyorum. Birden fazla degiskeni gecirmek istersem.:
> ~~~~~~~~~~~~~
> <input style="border:thin solid black;" type="image"
> name="image" src="<?php echo $url,$osman ?>" </a>
> ~~~~~~~~~~~~
> hata veriyor.
> birden fazla degisken icin ne yapilabilir ?
> saygilar
>
> Erkin Tek wrote:
>
> >1.php ve 2.php dosyaların olsun, $osman'da geçmesini
> >istediğimiz değişken
> >
> >GET metodunu kullanarak:
> >1.php'de ki linklerinde geçecek değişkeni ekleyerek
> >1.php şöyle olabilir:
> ><?php
> >$osman='karadumanlibulut';
> >echo "<a href='2.php?osman=$osman'>2. sayfa
> >burda</a>";
> >?>
> >2.php şöyle olabilir:
> ><?php
> >$osman=$_REQUEST['osman'];
> >echo $osman;
> >?>
> >
> >
> >Session kullanarak:
> >1.php böyle olabilir:
> ><?php
> >$osman='karadumanlarAltında';
> >$_SESSION['osman']=$osman;
> >//session kullanınca sayfada goruntulemek
> >//istediklerimiz sonra gelmeli
> >echo 'diger sahifeye buyrun';
> >?>
> >
> >2.php böyle olabilir:
> ><?php
> >$osman=$_SESSION['osman'];
> >echo $osman;
> >?>
> >
> >Güvenik uyarısı olarak; 2.php'lerde çalışm
ası $osman'a
> >bağlıysa, if(isset($_REQUEST['osman']) kullanmalısın
,
> >yanlışsa betikten çıksın. $osman'a değer a
tanmadan
> >çalışabilecekse $osman'a önceden bir değer atam
alısın.
> >
> >
> >yardımcı olmuşumdur, inşallah.
> >
> >
> >
> >
> >>web de calisan bir php dosyasindaki bir degiskeni
> >>baska bir php
> >>dosyadaki php
> >>koduna gecirmenin yontemleri nelerdir ?
> >>
> >>
> >
> >
> >
> >=09
> > =09
>
>
> >__________________________________
> >Do you Yahoo!?
> >New and Improved Yahoo! Mail - 100MB free storage!
> >http://promotions.yahoo.com/new_mail
> >---
> >linux-baslangic listesinden cikmak ve tum listeci islemleri icin
> >http://liste.linux.org.tr/ adresini kullanabilirisniz.
> >Bu listeden cikmak icin
> ><a
> href="mailto:linux-baslangic-request@liste.linux.org.tr?Subject=unsub
> scr
> ibe"> tiklayiniz</a>
> >
> >
> >
> >
> >
>
> ______________________________________
> Inflex - installed on mailserver for domain @deprem.gov.tr
> Queries to: postmaster@deprem.gov.tr
>
> ______________________________________
> The views and opinions expressed in this e-mail message are the sender's
> own
> and do not necessarily represent the views and the opinions of
> Earthquake Research Dept.
> of General Directorate of Disaster Affairs.
>
> Bu e-postadaki fikir ve gorusler gonderenin sahsina ait olup, yasal
> olarak T.C.
> B.I.B. Afet Isleri Gn.Mud. Deprem Arastirma Dairesi'ni baglayici
> nitelikte degildir.
>
> ---
> linux-baslangic listesinden cikmak ve tum listeci islemleri icin
> http://liste.linux.org.tr/ adresini kullanabilirisniz.
> Bu listeden cikmak icin
> <a
> href="mailto:linux-baslangic-request@liste.linux.org.tr?Subject=unsub
> scr
> ibe"> tiklayiniz</a>
>
> ---
> linux-baslangic listesinden cikmak ve tum listeci islemleri icin
> http://liste.linux.org.tr/ adresini kullanabilirisniz.
> Bu listeden cikmak icin
> <a href="mailto:linux-baslangic-request@liste.linux.org.tr?Subject=un
subscribe"> tiklayiniz</a>
>
>

---
linux-baslangic listesinden cikmak  ve tum listeci islemleri icin
http://liste.linux.org.tr/   adresini kullanabilirisniz.
Bu listeden cikmak icin
<a href="mailto:linux-baslangic-request@liste.linux.org.tr?Subject=unsubscribe"> tiklayiniz</a>


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

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.