Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/univix/public_html/index.php:2) in /home/univix/public_html/Global.php on line 25
------------------------------------------------
line 25 is
Expand|Select|Wrap|Line Numbers
- <?php
- if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) {
- function unMagicQuotify($array) {
- $fixed = array();
- foreach ($array as $key=>$val) {
- if (is_array($val)) {
- $fixed[stripslashes($key)] = unMagicQuotify($val);
- } else {
- $fixed[stripslashes($key)] = stripslashes($val);
- }
- }
- return $fixed;
- }
- $_GET = unMagicQuotify($_GET);
- $_POST = unMagicQuotify($_POST);
- $_COOKIE = unMagicQuotify($_COOKIE);
- $_REQUEST = unMagicQuotify($_REQUEST);
- $_FILES = unMagicQuotify($_FILES);
- }
- session_id();
- session_start(); //thisisline 25
- ob_start();
- include "bb.php";
- date_default_timezone_set('America/Chicago');
- $connection = mysql_pconnect("localhost","univix_main","random12") or die ("Error connecting to database.");
- mysql_select_db("univix_main") or die ("Error connecting to database, hang tight, we are working on it.");
- /*Filter */
- include "filter.php";
- /*Session */
- $User = $_SESSION['Username'];
- $Password = $_SESSION['Password'];
- $Admin = $_SESSION['Admin'];
-------------------------------------------
Please just copy and paste the code how it should be.. I'm new to this coding stuff.
if you want to see the code, it's at galacticworld.net/index.php