pgowder
01-04-2002, 07:49 PM
I'm creating an addition to my vbulletin.
I'm getting this error:
Warning: Cannot add header information - headers already sent by (output started at /home/sites/home/web/gathering/pw_event_whois.php:3) in /home/sites/home/web/gathering/admin/functions.php on line 1490
Here is the code:
<?
require('global.php');
if ($bbuserinfo[userid]==0) {
//Send user to the registration page
show_nopermission();
} else {
//Enter the username into pw_whois
mysql_query("insert into pw_whois (eventid, username, userid) values ('7', '$bbuserinfo[username]', '$bbuserinfo[userid]')");
//Send the user back to the calendar
echo ("<html><body onload=document.location.href='http://www.powwows.com/gathering/pw_calendar/pw_event_display.php?eventid=7'></body></html>");
}
?>
Thanks
I'm getting this error:
Warning: Cannot add header information - headers already sent by (output started at /home/sites/home/web/gathering/pw_event_whois.php:3) in /home/sites/home/web/gathering/admin/functions.php on line 1490
Here is the code:
<?
require('global.php');
if ($bbuserinfo[userid]==0) {
//Send user to the registration page
show_nopermission();
} else {
//Enter the username into pw_whois
mysql_query("insert into pw_whois (eventid, username, userid) values ('7', '$bbuserinfo[username]', '$bbuserinfo[userid]')");
//Send the user back to the calendar
echo ("<html><body onload=document.location.href='http://www.powwows.com/gathering/pw_calendar/pw_event_display.php?eventid=7'></body></html>");
}
?>
Thanks