Results 1 to 15 of 15
Thread: phpBB redirect
Hybrid View
-
27th May 2008 15:35 #1
phpBB redirect
,
phpBB , - / .
, :
URL.
http://forum_domain.com/adminpanel - http://drug_domain.com/adminpanel url not found.
, phpBB- .
-, URL :
www.forum_domain.com/forum/index.php :
Not Found
The requested URL /forum/index.php was not found on this server.
Apache/1.3.37 Server at www.drug_domain.com Port 80
... .
Hey, mother, I come bearing a gift. I'll give you a hint. It's in my diaper and it's not a toaster.
.
-
27th May 2008 15:39 #2
-
27th May 2008 16:12 #3Hey, mother, I come bearing a gift. I'll give you a hint. It's in my diaper and it's not a toaster.
.
-
27th May 2008 16:17 #4
. AtomCore :
Originally Posted by
Originally Posted by
-
27th May 2008 17:08 #5
, .
/includes/functions.php -> redirect($url, $return = false). $url, .
-
27th May 2008 17:44 #6
, !
sessions.php, , functions.php.
$url redirect /
, function generate_board_url 
:
$server_name .
$_SERVER['HTTP_HOST'] , , ...
======Code:function generate_board_url($without_script_path = false) { global $config, $user; #$server_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : getenv('SERVER_NAME'); $server_name = 'www.mydomain.com';
, URL-a?
:
forum/viewforum.php?f=2&sid=88384c3dcad364a544 c3b514db6ff90d
, ID , .
, , , , .
Last edited by BornToDrink; 27th May 2008 at 17:53.
Hey, mother, I come bearing a gift. I'll give you a hint. It's in my diaper and it's not a toaster.
.
-
27th May 2008 18:05 #7
sid session id , php .

:
"session_id()".PHP Code:function makeSeed() {
list($usec, $sec) = explode(" ", microtime());
return (float)$sec + ((float)$usec * 100000);
}
function regenerateId() {
if(str_replace(".", "", phpversion()) <= 420) {
srand(makeSeedseed());
$randomValue = mt_rand();
$random = md5($randomValue);
}
else {
$random = md5(mt_rand());
}
return $random;
}
-
27th May 2008 18:25 #8
, , phpBB /, , . /.. .
Hey, mother, I come bearing a gift. I'll give you a hint. It's in my diaper and it's not a toaster.
.
-
27th May 2008 18:57 #9
, . , "", - .. , ID ( ID ? ) , session_id (timeout) ..
.. "phpbb_sessions_keys" phpBB-.
-
27th May 2008 19:32 #10
, phpbb_sessions.

, , ... .
Hey, mother, I come bearing a gift. I'll give you a hint. It's in my diaper and it's not a toaster.
.
-
27th May 2008 19:43 #11
-
27th May 2008 20:03 #12Hey, mother, I come bearing a gift. I'll give you a hint. It's in my diaper and it's not a toaster.
.
-
28th May 2008 00:11 #13
-
28th May 2008 00:24 #14
... ..
, SID- , .
)
Hey, mother, I come bearing a gift. I'll give you a hint. It's in my diaper and it's not a toaster.
.
-
28th May 2008 00:37 #15




Reply With Quote

Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in