When accessing the script by itself:
Code:
Array ( )
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\BlueGunzWeb\rebirth\secure\config.php:4) in C:\AppServ\www\BlueGunzWeb\rebirth\secure\functions.php on line 123
The warning only shows up when trying to login using the rebirth script.
When accessing using logged-in BlueGunZWeb:
Code:
Array ( [UserID] => wesman2232 [AID] => Array ( [AID] => 3 ) [UGradeID] => 255 [Password] => fbee5f212ae661f387d4c249531b1880 [URL] => [PageTitle] => [user] => wesman2232 )
PHP Code:
Warning: mssql_query() [function.mssql-query]: message: Conversion failed when converting the varchar value 'Array' to data type int. (severity 16) in C:\AppServ\www\BlueGunzWeb\rebirth\index.php on line 101
Warning: mssql_query() [function.mssql-query]: Query failed in C:\AppServ\www\BlueGunzWeb\rebirth\index.php on line 101
I'm assuming it's the AID part, but how do I fix that?
Since it works by itself, I was thinking maybe make a function that destroys the session when I use that link. Or even fixing it this way would be better since they are already logged in.