skofilds Posted January 12, 2009 Report Share Posted January 12, 2009 Sveicināti. Tā tad manai mājaslapai ir redirect kas met uz citu direkciju <? header("Location: /web/index.php"); ?> Vakar vēl gāja. Šodien nē. Lūk errors: Warning: Cannot modify header information - headers already sent by (output started at /home2/skofilds/public_html/index.php:1) in /home2/skofilds/public_html/index.php on line 2 Link to comment Share on other sites More sharing options...
Lancom Posted January 12, 2009 Report Share Posted January 12, 2009 Sitais redirect ir labaks! <META HTTP-EQUIV="REFRESH" CONTENT="5; URL=/bans/"> <?php echo 'Redirecting...<br>Please Wait...'; ?> Link to comment Share on other sites More sharing options...
skofilds Posted January 12, 2009 Author Report Share Posted January 12, 2009 Man savu redirect vajag savest kārtība. Ja kāds zin kas par lietu rakstat. Link to comment Share on other sites More sharing options...
X ID Posted January 12, 2009 Report Share Posted January 12, 2009 Kārtējā 3133054138 reižu pārrunātā tēma, meklē tepat forumā. Tev pirms header() notiek izvade, ja tu zinātu kā strādā web-serveri, tad saprastu kāpēc pirms šīs funkcijas nedrīkst notik izvade (: Link to comment Share on other sites More sharing options...
skofilds Posted January 12, 2009 Author Report Share Posted January 12, 2009 Lab var slēgt tēmu vienkārši no web mapes paņēmu index un iemetu to www mapē. Tnx ka kāds centās palīdzēt Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now