Cron Job and Output


Posted on 16th Feb 2014 07:03 pm by admin

I have php codes running under a cron job.
But everytime i output (echo) , it comes out as complete text:
THe php script is setup to output some stuff so they are sent to the cron email...
but all the html tags shows up in the email too!

example:

Hello<br />World

instead of

Hello
World

even when i put html codes, i see the html tags literally

No comments posted yet

Your Answer:

Login to answer
111 Like 44 Dislike
Previous forums Next forums
Other forums

that old Malformed Headers problem again!!!!! HELP!!!!!!
I've read the http://www.phpfreaks.com/forums/index.php/topic,37442.0.html

I don't think my c

CHECH A STRING FOR ' " ' (DOUBLE QUOTES)
I am checking for delimiter (.!?) and if there is a " after a sentence then it should neglect a

Multiple forms on the same page (safari)
Hello everyone,

I have 3 forms on the same page, that opens in a new window and submits to a

Issues: PHP Forms -Clearing
I've tried looking online before actually asking for help, but I've been looking for about the past

Download Image from URL and Upload it
Ok, I have been googling for the last 1/2 hour trying to figure this out, Most likely I'm just not s

generating random codes
Hi guys n gals,

I have a requirement to generate 250,000 unique codes...

These codes a

Target costs on Process orders not calculating
Hi All,

We have released standard costs for all the materials. We have also done Goods r

Relative path
I have a absolute path to an image - like so: C:/Program Files/Apache Software Foundation/Apache2.2/

phpmailer class & pop.gmail.com?
Code: <?php
$mail->IsSMTP();
$mail->Host = "pop.gmail.com";

Tracking Unique Clicks
Hi guys and gals,

Basically I have a database which tracks clicks on my outbound links, I do

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash