Header Function Question
Posted: Tue Aug 31, 2010 3:59 pm
I have a page built of php includes. One of which is a submit form along with a script that posts to itself.
The problem is that since the content is in an include and the parent page already has header info, I can't use the header function to redirect after the form has been processed. One solution of which I can think is to simply remove the script to a separate file. This seems rather inelegant compared to having everything in one document.
Thoughts? Thanks.
The problem is that since the content is in an include and the parent page already has header info, I can't use the header function to redirect after the form has been processed. One solution of which I can think is to simply remove the script to a separate file. This seems rather inelegant compared to having everything in one document.
Thoughts? Thanks.