miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
qwerty miniBB Support Forums / qwerty /  
 

testing code posting

 
Author Erik
Partaker
#1 | Posted: 7 Aug 2005 10:08 
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:10 
{
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:12 
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:14 
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:19 
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:35 
....

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

Author Paul
Lead Developer 
#8 | Posted: 7 Mar 2011 05:35 
gfgfgfg

Author Paul
Lead Developer 
#9 | Posted: 8 Mar 2011 03:22 

Author Paul
Lead Developer 
#10 | Posted: 25 Sep 2014 03:54 
test1

Author Paul
Lead Developer 
#11 | Posted: 25 Sep 2014 03:54 
test1

Author Paul
Lead Developer 
#12 | Posted: 25 Sep 2014 03:54 
test1

Author Paul
Lead Developer 
#13 | Posted: 25 Sep 2014 03:54 
test1

Author Paul
Lead Developer 
#14 | Posted: 25 Sep 2014 03:54 
test1

Author Paul
Lead Developer 
#15 | Posted: 25 Sep 2014 03:54 
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


  ?
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
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑