Parašė namo· 2009 Bal. 7 09:04:35
#1
Sveiki, gal kas turit koda, kad idejus i koki web'o faila, redirectintu i mano nurodyta saita? Negalvokit, kad cia kazka lauziu, tiesiog persikeliau i kita hostinga, ir nenoriu prarasti lankytoju.
Per google radau si koda:
<?php
header('Location: example.php');
exit();
?>
I kuri faila geriausiai kist?
Redagavo namo· 2009 Bal. 7 09:04:53
Parašė namo· 2009 Bal. 7 09:04:12
#3
Va index.php kodas:
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
require_once "maincore.php";
redirect($settings['opening_page']);
?>
Kaip turi atrodyti su kodu?
SUSITVARKIAU.
Redagavo namo· 2009 Bal. 7 09:04:38
Parašė Peacemaker· 2009 Bal. 7 09:04:29
#4
Gerai, sėkmės naudojime. :)