close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


UE on form which is a server side include

Thread began 1/20/2011 6:40 am by info105077 | Last modified 1/20/2011 7:47 am by info105077 | 1448 views | 2 replies |


UE on form which is a server side include

Hi , could someone please shed light on this for me?
i have a contact form which is now working fine, however when I add the file as a server side include i get the message before the form

"Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/62/7301162/html/contact-us.php:8) in /home/content/62/7301162/html/webassist/form_validations/wavt_validatedform_php.php on line 3'

I filled it in for the shear hell of it and got multiple messages like this but the mail arrived as normal.

so my first question is can UE 4 be used with includes and if not (why not) would I have to purchase the framework extension.

Thank you in advance for any advices given

Sign in to reply to this post

Jason ByrnesWebAssist

the issue is that using a server side include will place the php code in the HTML body. It will still run, but the Universal Email code will need to double check that the session is started, and it will use the header function to redirect after sending the mail.

The php header() and session_start() functions cannot be used after there is any html output to the page.

the Universal Email code needs to be in the page before the html doctype tag to ensure that there is no html output on the page before the UE code gets run.

using the PHP Framework to include the page will separate the PHP code that comes before the doctype tag and the html code in the body tag and place the different code chunks on the page in the correct place to avoid this issue.

Sign in to reply to this post


form as includes with php framework

Thank you Jason,
I did use ADDT with CS3. I only really use things like a callback form on each page and up to now I have been using an ordinary include with a product that calls the php script file in the action field of the form. With no ill effects. I swapped to UE because of the file upload functionality and Captcha (form toolkit). Just Feel a little strained that it looks like I have to make another wa purchase to get back to what i have been doing already.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...