Lukket

dynamically add a line in the html file

In a certain email program, we are sending the mail as an html file. The file was uploaded earlier. We want an additional html line to be entered into the code, before the mail function is executed.

this is the code:

$Htmlfile="Upload/Html/".$a;

$fp=fopen($Htmlfile,"r");

$HtmlCode=fread($fp,filesize($Htmlfile));

fclose($fp);

$MessMast .= $HtmlCode;

$MessMast .= chr(13) ;

Now this $MessMast has the html code, and at a later stage of the script, just before we send it, I need to insert an HTML code with some parameters

A very small task,

Færdigheder: PHP

Se mere: add line html dynamically, add line html, in line program, html program code, code line, dynamically add line html, now later, program line, no html, html, HTML%, html we, html script, html mail, html c, html /, fp&a, email add, chr, php add file, html add, script html, quot html, sending email function, script email html

Om arbejdsgiveren:
( 2 bedømmelser ) Noida, India

Projekt-ID: #82893