acanuck
12-31-2009, 03:16 AM
I'm trying to get my current threadid location in a plugin.
$vbulletin->db->escape_string($vbulletin->input->clean_gpc('r', 't', TYPE_UINT))
supposedly does that but when I call it I get the error:
Warning: Cannot modify header information - headers already sent by (output started at .../includes/class_bootstrap.php(283) : eval()'d code:178) in .../includes/functions.php on line 3736
Warning: Cannot modify header information - headers already sent by (output started at .../includes/class_bootstrap.php(283) : eval()'d code:178) in .../includes/functions.php on line 3737
So does this mean I can only call it once?
If so how do I get the current threadid?
$vbulletin->db->escape_string($vbulletin->input->clean_gpc('r', 't', TYPE_UINT))
supposedly does that but when I call it I get the error:
Warning: Cannot modify header information - headers already sent by (output started at .../includes/class_bootstrap.php(283) : eval()'d code:178) in .../includes/functions.php on line 3736
Warning: Cannot modify header information - headers already sent by (output started at .../includes/class_bootstrap.php(283) : eval()'d code:178) in .../includes/functions.php on line 3737
So does this mean I can only call it once?
If so how do I get the current threadid?