Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   TBDev (http://www.bvlist.com/forumdisplay.php?f=20)
-   -   Basic redirect script (http://www.bvlist.com/showthread.php?t=11841)

BamBam0077 23rd November 2018 07:59

Basic redirect script
 
edit takelogin.php script, add this:
Code:

$redirect = true;
if($redirect === true){

echo "
Successful Message


Thank You!, Accessing Account

";
} else {
// go fuck yourself for not believing!!
}

Replace:
Code:

header("location= {$INSTALLER09['baseurl']}/index.php");

allfree 25th August 2019 21:17

re mod 08
 
Quote:

Originally Posted by BamBam0077 (Post 52831)
edit takelogin.php script, add this:
Code:

$redirect = true;
if($redirect === true){

echo "
Successful Message


Thank You!, Accessing Account

";
} else {
// go fuck yourself for not believing!!
}

Replace:
Code:

header("location= {$INSTALLER09['baseurl']}/index.php");




please nice for tbdev 2008 can you do it to me ??
I really like thank you

BamBam0077 6th November 2019 02:38

1. Go to your /var/www/html/
2. Open takelogin.php with notepad++
3. Line 31 - 33
4. Replace header("Location: my.php");

Now override with the following code as discussed:
PHP Code:

$redirect true;
if(
$redirect === true){

echo 
"<div style='background-color: #353939;border: 1px solid #666;color:green;'><text>Successful Message</text></div>
<div style='padding: 0.1em;'></div>
<text>Thank You!, Accessing Account 
</text>
<script>
setTimeout(function () { window.location.href= 'my.php'; // the redirect goes here
},5000); // 5 seconds
</script>"
;


There You Go M8 :superman:
Soz for late response!


All times are GMT +2. The time now is 17:16.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.