However, PHx seems to cause some problems to the eForm &fromname param. When I disabled PHx the from name displays just fine, but when PHx is enabled, my host’s name stands as sender. Huh?
<img src="http://www.somedomain.tld/path/anotherpath/image.gif" border="0" />
http://www.somedomain.tld/path/anotherpath/image.gif
<?php
$pattern = '\"(.+?)\"';
if (preg_match ($pattern,$output,$matches)) {
return $matches[0];
} else {
return "no_image_src_found_from_match"; #debug
}
?>
$myurl = explode('"', $output);
return = $myurl[1];
[+phx:if=`[+TM:min+]`:gt=`[+SUNR:min+]`:and:lt=`[+SUNS:min+]`:then=:math=`([+SUNS:min+]-[+TM:min+])/60`:else=`DARK`+]</li>
<?php
$tmStamp = strtotime($tm);
$sunrStamp = strtotime($sunr);
$sunsStamp = strtotime($suns);
if ($tmStamp > $sunrStamp && $tmStamp < $sunsStamp) {
return strftime('%H', ($sunsStamp - ($sunsStamp - $tmStamp)));
} else {
return 'DARK';
}
?>[+phx:if=`[[UltimateParent]]`:is=`1`:then=`id="header_[[UltimateParent? &top=`1`]]"`:else=``+]
[+phx:if=`[[UltimateParent]]`:is=`2`:then=`id="header_[[UltimateParent? &top=`2`]]"`:else=``+]
[+phx:if=`[*template*]`:is=`2`:then=`this is template 2`:elseif=`[*template*]`:is=`3`:then=`this is template 3`:else=`I have no idea what template is used`+]
This discussion is closed to further replies. Keep calm and carry on.