Hexagora Forum
Home
|
Profile
|
Active Topics
|
Members
|
Search
|
FAQ
All Forums
Dynamic HTML Editor
Dynamic HTML Editor
PHP send mail $header
Note:
You must be registered in order to post a reply.
Screensize:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Format Mode:
Basic
Help
Prompt
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Red
Yellow
Pink
Green
Orange
Purple
Blue
Beige
Brown
Teal
Navy
Maroon
LimeGreen
Message:
* HTML is OFF
*
Forum Code
is ON
Smilies
Check here to include your profile signature.
T O P I C R E V I E W
vogo
Posted - 06 Dec 2010 : 17:11:40
Can I make anywhere modifications in PHP processor like:
Orginate code:
<?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;
Modified code:
<?php
function dhwe_sendMailTextForm1()
{
$charset = '';
$header =
'From: '. $_POST["txtEmail"]; //-!DHWE_Processor';
if ($charset!='')
$header = 'MIME-Version: 1.0' . "\r\n" . "Content-type: text/plain; charset=$charset" . "\r\n" . $header;
1 L A T E S T R E P L I E S (Newest First)
s.dav
Posted - 07 Dec 2010 : 08:57:16
Do what you want; note that the next time you'll generate the page your changes will be lost.
Hexagora Forum
© s.dav
Snitz Forums 2000