Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Jan 13th, 2008, 3:00 PM   #1
stu7398
Newbie
 
Join Date: Jan 2008
Posts: 3
Rep Power: 0 stu7398 is on a distinguished road
How do I silence header?

How do I silence header?

When my 'contact us' page is submitted, it is supposed to go to a 'thank you page' using the following function

if($thankyou_page == "yes") {
header ('refresh: 0; url='.$thankyou_url.'');
}

Instead I get the following error

Warning: Cannot modify header information - headers already sent by (output started at /html/****co.uk/inc/head.inc:5) in /html/****co.uk /files/functions.php on line 1174

how can i get my conatct page to direct to a thank you page.
i'm studying php programming, clear english would be appreciated.

thanks.
stu7398 is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
making a header file alphonso C++ 14 Apr 5th, 2006 6:32 AM
question about header files and prototyping functions linuxpimp20 C 13 Sep 7th, 2005 8:28 AM
Header files Klarre C++ 13 Jun 15th, 2005 11:25 AM
question (BMP header) amin1982 C++ 2 Apr 21st, 2005 9:25 PM
TCP Header for Echo Communication AusTex C++ 0 Feb 27th, 2005 3:57 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:39 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC