miniBB ®

miniBB

®
Support Forums
  
 · Start · Sign in · Register · Search · Statistics · File Bank · Manual ·
qwerty miniBB Support Forums / qwerty /  
 

testing code posting

 
Author Erik
Partaker
#1 · Posted: 7 Aug 2005 10:08Reply Quote
If you want to send header before implementing minibb, e.g. if you do a
login check before including minibb, you will get an errormessage like:
headers already sent

This is because minibb uses the header to redirect requests. This can be
done with javascript instead:

search for this string in all files: header("Location:
and replace it with this: include("redir.php"); redir("

then make redir.php:

Author Erik
Partaker
#2 · Posted: 7 Aug 2005 10:10Reply Quote
{
echo "<script>document.location.href='".$link."'</script>";
echo "You have to enable javascript to be redirected automaticly!<br>";

Author Erik
Partaker
#3 · Posted: 7 Aug 2005 10:12Reply Quote
If you want to send header before implementing minibb, e.g. if you do a
login check before including minibb, you will get an errormessage like:
headers already sent

This is because minibb uses the header to redirect requests. This can be
done with javascript instead:

search for this string in all files: header("Location:
and replace it with this: include("redir.php"); redir("

then make redir.php:
<?php
function redir($link = "")
{
echo "<script>document.location.href='".$link."'</script>";
echo "You have to enable javascript to be redirected automaticly!<br>";

Author Erik
Partaker
#4 · Posted: 7 Aug 2005 10:14Reply Quote
echo "Press this a href=\"".$link."\">link to continue!</a>";
?>

The forum doesn't allow me to post "<" if front of the a href tag :-(

Author Team
8-)
#5 · Posted: 7 Aug 2005 17:19Reply Quote
The forum doesn't allow me to post "<" if front of the a href tag :-( - it is disabled by anti-flood filter. We are tired of spammers who flooded our board with a lot of <a href's.

Author Persian
Partaker
#6 · Posted: 30 Jul 2008 06:35Reply Quote
....

Author Guest
~
#7 · Posted: 14 Aug 2008 04:56Reply Quote
Erik:
This is because minibb uses the header to redirect requests. This can be
done with javascript instead:
just testing

Author Paul
Lead Lead Developer
#8 · Posted: 7 Mar 2011 05:35Reply Quote
gfgfgfg

Author Paul
Lead Lead Developer
#9 · Posted: 8 Mar 2011 03:22Reply Quote

Author Paul
Lead Lead Developer
#10 · Posted: 25 Sep 2014 03:54Reply Quote
test1

Author Paul
Lead Lead Developer
#11 · Posted: 25 Sep 2014 03:54Reply Quote
test1

Author Paul
Lead Lead Developer
#12 · Posted: 25 Sep 2014 03:54Reply Quote
test1

Author Paul
Lead Lead Developer
#13 · Posted: 25 Sep 2014 03:54Reply Quote
test1

Author Paul
Lead Lead Developer
#14 · Posted: 25 Sep 2014 03:54Reply Quote
test1

Author Paul
Lead Lead Developer
#15 · Posted: 25 Sep 2014 03:54Reply Quote
test1

qwerty miniBB Support Forums / qwerty /
 testing code posting
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message

BB code for the Bold StyleBB code for the Italic StyleBB Code for the PictureBB code for the URLUpload a File

  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Install the File and Picture Attachments add-on: extend your miniBB-forums, attaching images and files.