Jump to content
GIGN Forum

Techpoint Sms Shop


Soprano
 Share

Recommended Posts

uztādīju sms shopu,bet ejot adin paneli man izmet šādu kļūdu

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\shop\admin_shop.php:1) in C:\AppServ\www\shop\admin_shop.php on line 8

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\shop\admin_shop.php:1) in C:\AppServ\www\shop\admin_shop.php on line 9

GET OUT!!!

Reku ir admin.php pirmās 12 riniņas

<?php
include 'config.php';

if ((!isset( $_SERVER['PHP_AUTH_USER'] )) ||
         (!isset($_SERVER['PHP_AUTH_PW'])) ||
         ( $_SERVER['PHP_AUTH_USER'] != $shop_admin ) || (
         $_SERVER['PHP_AUTH_PW']) != $shop_admin_password ){
                header('WWW-Authenticate: Basic realm="Private"');
                header('HTTP/1.0 401 Unauthorized'); echo "GET OUT!!!";
                exit;
}
?>

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...