phat code According to my calculations, this problem doesn't exist.
Main

Projects

Downloads

Articles

Links

Forum

 

View Message

Back to Messages
fatfeet Fri Jun 29 2007 at 5:07 pm
including
 
 
I added the forum script into my template.

It displays the posts, but after posting, line 1005 messes up the headers.

# Post has been added, now redirect to the main page of the forum
header('Location: '.php_self());

Removing it makes the forum not display after posting...

Another problem is, after posting, it redirects you to index.php?action=post, so a dim sort could refresh the page a hundred times, flooding the forum with the same post.

How to redirect poster to thread he just posted on, to the main index, or to an anchor in the forum thread?
 
 
  • including - fatfeet (Fri Jun 29 2007 at 5:07 pm)
    • re: including - fatfeet (Fri Jun 29 2007 at 5:09 pm)
      • re: - fatfeet (Fri Jun 29 2007 at 6:43 pm)
 
 

Reply to this Message

Name
Subject
Message

No HTML is allowed, except for <code> <b> <i> <u> in the message only.
All URLs and email addresses will automatically be converted to hyperlinks.