Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2007
    Location
    UK
    Posts
    36
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Header readirect function??

    Hi, i was wondering if its possible to return after posting something.

    For example, if a user posts comments how would it redirect to that page if that page had a certain id. My website has blogs and people will click the link which will show that blogs id.
    http://www.smgames.staticfire.co.uk Under construction, Currently hiring mods and admins anyone interested pm me.

  2. #2
    Senior Coder NancyJ's Avatar
    Join Date
    Feb 2005
    Location
    Bradford, UK
    Posts
    3,189
    Thanks
    19
    Thanked 66 Times in 65 Posts
    you can set a header so long as no output has been sent to the browser - so its perfectly ok to do your post processing and anything else you like before you send the header redirect so long as nothing is echoed out to the browser


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •