Did you know that you may be allowed to hide miniBB credits
and remove miniBB's copyright notice? Click here to read more.
Copyright Removal allowance for miniBB
miniBB ®
 
miniBB Community Forum
 | Forums | File Bank | Sign Up | Reply | Search | Statistics | Manual |
qwerty miniBB Community Forum / qwerty /
Short link for this topic:

testing code posting

 
Author Erik
Forums Member
#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
Forums Member
#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
Forums Member
#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
Forums Member
#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
Forums Member
#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
 
qwerty miniBB Community Forum / qwerty / testing code posting Top
Your Reply Click this icon to move up to the quoted message

» Username  » Password 
You are welcome to post anonymously by entering a nickname with no password (if that nickname has not been taken by another member) or by leaving both fields empty. If you have a forums membership 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 Community Forum Powered by Free Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts