4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 17, 2018, 07:03:55 AM

Login with username, password and session length
Search:     Advanced search
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  International
| |-+  Turkish / Türkçe
| | |-+  Modifikasyonlar (Moderator: DilnüvaZ)
| | | |-+  Login Sonrası Aynı Sayfaya Yönlendirme
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Login Sonrası Aynı Sayfaya Yönlendirme  (Read 8057 times)
exceLLency
Newbie
*
Offline Offline

Posts: 12

Thank You
-Given: 0
-Receive: 0


View Profile
« on: January 28, 2010, 08:25:05 PM »

Aynı kategorideki farklı bir başlıkta verilen kodda hata vardı forumu araştırdım doğru kodlar aşağıda.

Aç Login.php
Bul;
1
2
3
 if (!ereg("index.php", $url) && !ereg("login.php", $url) && !ereg("register.php", $url) && !ereg("member.php", $url)) {
    redirect($url);
  }


Bununla Değiştir;

1
2
3
 if ($referer = $_SERVER['HTTP_REFERER']) {
    redirect($referer);
  }


İyi çalışmalar.


www.Resimlerim.Gen.tr
« Last Edit: April 26, 2010, 03:45:36 PM by exceLLency » Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.042 seconds with 20 queries.
Post your comments here