Thread View: pl.comp.lang.php
1 messages
1 total messages
Started by web
Thu, 21 Jul 2016 10:44
przekierowanie z $_SERVER["REQUEST_URI"]
Author: web
Date: Thu, 21 Jul 2016 10:44
Date: Thu, 21 Jul 2016 10:44
34 lines
1743 bytes
1743 bytes
czesc
google zle zaindeksowala moja witryne
po kliknieciu w link jestem odsylany do niewlasciwej strony wraz z niewlasciwym phpsessid
probowalem zrobic przekierowanie
if($_SERVER["REQUEST_URI"] == "/?strona=cos&PHPSESSID=l9dhngrho22ser0erhffct24e6")
{
header('Location: http://mojastrona.pl');
}
ale sie wtedy serwer zapetla !!!!!!!!!!
albo cos takiego
if($_SERVER["REQUEST_URI"] == "/?strona=cos&PHPSESSID=l9dhngrho22ser0erhffct24e6")
{
$_SERVER["REQUEST_URI"] = NULL;
$strona="glowna";
}
ale nadal widoczny jest stary $_SERVER["REQUEST_URI"] czyuli ten spsob nic nie daje
pomysly???
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads