miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
qwerty miniBB Support Forums / qwerty /   

testing code posting

Author Erik
Registered
#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
Registered
#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
Registered
#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
Registered
#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
Registered
#6 | Posted: 30 Jul 2008 06:35 | Edited by: Persian 
....

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 Top

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

 Short link for this topic:

 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB