
October 2nd, 2005, 03:59 PM
|
|
|
|
Join Date: Apr 2007
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Issues with session_register():
Hi all,
New here and also need some major help with a script I received.
Here are the errors and below that is the .php script.
ERRORS:
Warning: session_register(): Cannot send session cookie - headers already sent by (output started at /home/skywest/public_html/Virtual Admin/Admin/admin_login_check.php:2) in /home/skywest/public_html/Virtual Admin/Admin/admin_login_check.php on line 19
Warning: session_register(): Cannot send session cache limiter - headers already sent (output started at /home/skywest/public_html/Virtual Admin/Admin/admin_login_check.php:2) in /home/skywest/public_html/Virtual Admin/Admin/admin_login_check.php on line 19
Warning: Cannot modify header information - headers already sent by (output started at /home/skywest/public_html/Virtual Admin/Admin/admin_login_check.php:2) in /home/skywest/public_html/Virtual Admin/Admin/admin_login_check.php on line 22
Here is the admin_login_check.php script:
php Code:
Original
- php Code |
|
|
|
<? ?> <html> <head><title>Admin Panel</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style="text/css"> <!-- table{font-family: Verdana; font-size: 8pt} --> </style> </head> <body bgcolor="#99bbcc"> <center><h2><strong>Administrative Panel</strong></h2></center> <table align="center" cellpadding ="15" cellspacing="0" border="0" bgcolor="#cccccc"> <tr bgcolor="#6699cc"> <th align="center">View/Edit/Delete Pilots</th> <th align="center">Process Apps</th> <th align="center">View/Edit/Delete Pireps</th> <tr><form name="roster"action="admin_roster.php"> <td align="center"><input name="users" type="submit" value="View Pilots"></form></td> <form name="apps"action="apps.php"> <td align="center"><input name="apps" type="submit" value="View Apps"></form></td> <form name="pireps"action="admin_showpireps.php"> <td align="center"><input name="users" type="submit" value="View Pireps"></form></td> </tr> </table> <table align="center" cellpadding="5"> <tr><form name="logout" action="admin_logout.php"> <td><input name=logout2" type="submit" value="Logout"></td> </tr> </table><br> <? include 'footer.php';?> </body> </html>
Please HELP.
Thank You very Much in Advance
|