UBB.Dev
Posted By: Datal PHP Cronjob Subscription - 06/20/2002 7:16 PM
OK did your code changes. Manually ran script it gave me this:

code:

[ralloszek@cadet php]$ ./subscriptions.php
X-Powered-By: PHP/4.1.2
Content-type: text/html

$ubbt_lang['SUB_INTRO'] = "Daily archive of";
$ubbt_lang['SUB_DESC'] = "The following is a list of all posts for the past day on the forum";
$ubbt_lang['SUB_DESC2'] = "The forum location is {$config['phpurl']}/ubbthreads.php";
$ubbt_lang['POSTER_TEXT'] = "Poster";



It sent the e-mails but this is how one of them looked (they all look the same):

code:


'Teir'Dal's (Dark Elf's) '.
----------------------------------------------------------------------
----------------------------------------------------------------------

{'SUBJECT_TEXT'}: Re: c'mon now
{'POSTER_TEXT'}: Lulee_D
{'POSTON_TEXT'}: 06/19/02 11:44 AM

<img src="/images/icons/shocked.gif" alt="" /> <img src="/images/icons/shocked.gif" alt="" /> <img src="/images/icons/shocked.gif" alt="" /> <img src="/images/icons/shocked.gif" alt="" /> <br /> <img src="/images/icons/grin.gif" alt="" /> <img src="/images/icons/grin.gif" alt="" /> <img src="/images/icons/grin.gif" alt="" /> <img src="/images/icons/grin.gif" alt="" /> <br /> <img src="/images/icons/blush.gif" alt="" /> <img src="/images/icons/blush.gif" alt="" /> <img src="/images/icons/blush.gif" alt="" /> <img src="/images/icons/blush.gif" alt="" /> <br /><br />now THATS a dark elf!!!!!

----------------------------------------------------------------------
----------------------------------------------------------------------




So you fixed it... but not fully also can we get rid of it doing a :

code:

X-Powered-By: PHP/4.1.2
Content-type: text/html



for both subscription and doexpire? Reason being is the cron system sees that as an error and send it to me.
© UBB.Developers