finaller finaller! | Kategori:Hede Hödö Yazılma: 11.01.2008 | Okunma: 150151 | Yorumlanma: 0
nihayet finalleri atlattım. her ne kadar 1-2 dersten kalma riskim olsa da, bir hışımla geldi geçti.. bakalım 2. dönem napıcaz
notkaydet! | Kategori:Netsel Olaylar Yazılma: 03.01.2008 | Okunma: 168169 | Yorumlanma: 0
İnternet üzerinde dosyalarınızı ve resimlerinizi paylaşabileceğiniz hizmetler bol bol mevcut, hatta küçükresim ile ben de bir resim depolama servisi sunuyorum. Peki paylaşmak istediğiniz metinleri yeni metin belgesine yapıştırıp yollamaktan sıkılmadınız mı?
İşte tam olarak bu noktada devreye giren, yeni proje karşınızda, www.notkaydet.com !
"notlarınızı kaydedin, paylaşın" sloganıyla hayata geçen proje, bütün metinlerinizi kaydedip size link sunuyor. Siz de bu linki istediğiniz kişilere vererek metninizi paylaşabiliyorsunuz.
Kod paylaşımı gibi alanlarda da kullanılabilecek olan proje, Türkiye'de bir ilk ve işlerinizi kolaylaştırmayı hedefliyor.
monsoon | Kategori:Müziksel Yazılma: 02.01.2008 | Okunma: 147148 | Yorumlanma: 0
Tokio Hotel - Monsoon Tayfun 'un yolladığı bir şarkı. Sözleri ve melodisi çok hoşuma gitti.. Sözler yazının devamında..
I'm staring at a broken door,
There's nothing left here anymore.
My room is cold,
It's making me insane.
I've been waiting here so long,
But the moment seems to 've come,
I see the dark clouds coming up again.
CHORUS
Running through the monsoon,
Beyond the world,
To the end of time,
Where the rain won't hurt (?)
Fighting the storm,
Into the blue,
And when I loose myself I think of you,
Together we'll be running somewhere new
Through the monsoon.
Just me and you.
A half moon's fading from my sight,
I see your vision in its light.
But now it's gone and left me so alone
I know I have to find you now,
Can hear your name, I don't know how.
Why can't we make this darkness feel like home?
CHORUS
Running through the monsoon,
Beyond the world,
To the end of time,
Where the rain won't hurt (?)
Fighting the storm,
Into the blue,
And when I loose myself I think of you,
Together we'll be running somewhere new
And nothing can hold me back from you.
Through the monsoon. Hey! Hey!
BRIDGE
I'm fighting all this power,
Coming in my way
Let it sail me straight to you,
I'll be running night and day.
I'll be with you soon
Just me and you.
We'll be there soon
So soon.
CHORUS
Running through the monsoon,
Beyond the world,
To the end of time,
Where the rain won't hurt (?)
Fighting the storm,
Into the blue,
And when I loose myself I think of you,
Together we'll be running somewhere new
And nothing can hold me back from you.
Through the monsoon.
Through the monsoon.
Just me and you.
Through the monsoon.
Just me and you.
She embraced, with a smile,
as she opened the door.
A cold wind blows,
it puts a chill into her heart.
You have taken away the trust,
you're the ghost haunting through her heart.
Past and present are one in her head,
you're the ghost haunting through her heart.
Take my hand as I wander through,
all of my life I gave to you.
Take my hand as I wander through,
all of my love I gave to you.
You have taken away the trust,
you're the ghost haunting through her heart.
Past and present are one in her head,
you're the ghost haunting through her heart.
Take my hand as I wander through,
All of my life I gave to you.
Take my hand as I wander through,
All of my love I gave to you.
Session bildiğiniz gibi aynı oturum dahilinde sayfalar arasında
değişken taşımanızı sağlar. Yani a.php sayfasında tanımlanacak olan bir
değişkeni b.php sayfasında da kullanmanız gerekiyorsa, sessionlar
yardımınıza koşuyor.
En önemli şey, kesinlikle ama kesinlikle, globals kullanmayın. Sadece session kullanın. Çünkü globals de yapabileceğiniz ufacık bir hata ile sadece sizin siteniz de değil, bütün sunucuyu tehdit altına atarsınız.
Sayfada sessionlarla çalışılacaksa, ilk olarak, sayfanın en üstlerinde bir yer olması daha iyi olur,
PHP Kodu:
session_start();
kodunu
ekliyoruz. Bu kod eklenmediği sürece, sayfada hiçbir şekilde session
çalıştıramazsınız. Yani yazdığınız kod çalışmıyorsa ilk önce bunu
ekleyip eklemediğinizi kontrol edin, bilmemkaç saat kodlarda hata
aramayın(başıma gelmişti ). Bu kodu ekledikten sonra, sayfada sessionlarla çalışabiliriz.
Burada PHP standartlarına göre dikkat etmemiz gereken şey şu. session_register() veya HTTP_SESSION_VARSkullanacağımıza, session tanımlarken ve bunlarla işlem yaparken, $_SESSION[] kullanmak daha sağlıklı.