Quantcast
Channel: Сообщество PHP DevelStudio - среда разработки программ
Viewing all articles
Browse latest Browse all 6336

Ребят помогите с PHP у меня выводит ошибку!!!!

$
0
0
Выводит ошибку:

Скрытый текст:
Warning: Cannot modify header information - headers already sent by (output started at /home/p281034/www/lc-larderon.ru/downloads.php:1) in /home/p281034/www/lc-larderon.ru/pages/include/web_cfg.php on line 10

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/p281034/www/lc-larderon.ru/downloads.php:1) in /home/p281034/www/lc-larderon.ru/pages/include/web_cfg.php on line 11
?


Вот сам скрипт:
Скрытый текст:


<?php

define ( "INC", 1 ) ;

include ('pages/include/web_cfg.php');
$title= "LastChaos Larderon - Загрузка";
header('Location: /header.php');

?>
<script type="text/javascript">
function getCookie(c_name)
{
var i, x, y, ARRcookies = document.cookie.split(";");

for(i = 0; i < ARRcookies.length;i++)
{
x = ARRcookies[i].substr(0,ARRcookies[i].indexOf("="));
y = ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1);
x = x.replace(/^\s+|\s+$/g,"");

if(x==c_name)
{
return unescape(y);
}
}
}

var Config = {
URL: "/",
image_path: "style/images/index.htm",
CSRF: getCookie('csrf_cookie_name'),

UseFusionTooltip: 1,

Slider: {
interval: 5000,
effect: "",
id: "slider_bg"
},

voteReminder: 0,

Theme: {
next: ">",
previous: "<"
}
};

var scripts = [
"style/js/ui.js",
"style/js/fusioneditor.js",
"style/js/flux.min.js",
"style/js/jquery.placeholder.min.js",
"style/js/jquery.sort.js",
"style/js/jquery.transit.min.js",
,"modules/news/js/ajax.js" ];

if(typeof JSON == "undefined")
{
scripts.push("style/js/json2.js");
}

require(scripts, function()
{
$(document).ready(function()
{
UI.initialize();

Router.loadedCSS.push("modules/news/css/news.css");

Router.loadedJS.push("modules/news/js/ajax.js");
});
});
</script>

<?php

include ('pages/temps/slider.php');

?>
<div id="content_ajax">
<article>
<a href='javascript:void(0)' onClick='Ajax.showComments(7)' class="top">Загрузки</a>
<section class="body">

<font color="#3366FF"><h4 class="title-02"><span>YANDEX DISK</span></h4></font>
<h1><a href="http://yadi.sk/d/cYgXNvCpL5xZ8" target="_blank">Скачать</a></h2>

</section>
</article>

</div>
</aside>

<?php

include ('pages/temps/footer.php');

?>



где ошибка не знаю(((((

Viewing all articles
Browse latest Browse all 6336

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>