Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 11-19-2007, 03:42 PM Errors
evans123's Avatar
Ultra Talker

Posts: 468
Trades: 0
I keep getting this error in a rank.php that doesnt contain any sessions, i found the problem in config.php but i know its correct so whats the problem. I dnt think that i have to register like $_SESSION as the browser should recognize it. ive used it on other sites and it works fine so i dnt see the problem!

Error:
PHP Code:
WarningUnknownYour script possibly relies on a session side-effect which existed until PHP 4.2.3Please be advised that the session extension does not consider global variables as a source of dataunless register_globals is enabledYou can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to offrespectivelyin Unknown on line 0 


Code I Took Out:

PHP Code:
$sql mysql_fetch_array(mysql_query("SELECT * FROM `championship__login` WHERE `username` = '" $_SESSION['loggedin'] . "'"));
$_SESSION['id'] = $sql['id'];
$_SESSION['userlevel'] = $sql['userlevel'];
$_SESSION['money'] = $sql['money'];
$_SESSION['transfers'] = $sql['transfers'];
$_SESSION['team_name'] = $sql['team_name'];
$_SESSION['date'] = $sql['date'];
$_SESSION['logo'] = $sql['logo'];
$_SESSION['monthly_points'] = $sql['monthly_points'];
$_SESSION['points'] = $sql['points'];
$_SESSION['comment'] = $sql['comment'];
$_SESSION['rank'] = $sql['rank'];
$_SESSION['last_rank'] = $sql['last_rank']; 

Last edited by evans123; 11-19-2007 at 03:43 PM..
evans123 is offline
Reply With Quote
View Public Profile Visit evans123's homepage!
 
 
Register now for full access!
Reply     « Reply to Errors
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.19791 seconds with 12 queries