Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Error using PHP processing for forms

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
rmmarsh Posted - 07 May 2011 : 22:38:32
This is the error I'm getting:

Warning: Cannot modify header information - headers already sent by (output started at /home/wwwmar1/public_html/pragerphoneapps.com/about.php:1) in /home/wwwmar1/public_html/pragerphoneapps.com/about.php on line 34


The URL is pragerphoneapps.com/about.php

What do I have to change in DHE to fix this?

3   L A T E S T    R E P L I E S    (Newest First)
rmmarsh Posted - 09 May 2011 : 15:03:52
I don't see anywhere that Release 6 is available yet. This is what's at the top of the about.php file:


<META http-equiv="Pragma" content="no-cache"><?php
function dhwe_sendMailTextForm1()
{
$charset = '';
$header = 'From: DHWE_Processor';
if ($charset!='')
$header = 'MIME-Version: 1.0' . "\r\n" . "Content-type: text/plain; charset=$charset" . "\r\n" . $header;

$to = 'support@pragerphoneapps.com ';


I fixed it by moving the META statement to the HEAD. The message is gone, and it works like it's supposed to (goes to success page). However, still can't get the values of the radio buttons to work. (another post)
s.dav Posted - 09 May 2011 : 08:58:04
This is a known issue; this error happens when your page is using a UTF8 encoding (this can be assigned automatically by D.H.E. when needed); in this case D.H.E. appends a so called "BOM" character to the beginning of the generated file and PHP is not able to understand it. This issue has already been fixed in version 6.0
2hats Posted - 09 May 2011 : 04:00:51
Make sure there are no spaces before <? at top of page.

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000