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!
Did you know?Explore Trending and Topic pages for more stories like this.

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

Reduce redundancies in switch functions?
Hello all! I somewhat new to PHP, and was wondering if anyone could give some suggestions on a swit

type check while uploading
Hi Everyone,

How can I check the exact type of a file while uploading on my site?

Here

Post, not working, please help
The error is:
Method Not Allowed
The requested method POST is not allowed for the URL /student

big pagination problem in php
<?php

$connect = mysql_connect("localhost", "root", "")

Post PHP form to non-existing page
The company that I work for host their PHP code on IIS on a Windows server, no Apache, so no mod_rew

update sql when refresh - php
hi
I have made a table (attachement)

the users can update the sql database using + or x bu

Do While statement
hi guys,

This may sound trivial but im new to php and as part of an assignmenti have to const

Please help understand this code
I noticed the index page on my site was modified this morning and found this code inserted at the bo

Help with some dates
I have a list of dates in an array:

$mondays = array(
strtotime("October 12, 2009

Not reloading page after php form submit
Hello helpful souls out there. You guys have come through for me in the recent past and I'm hoping s

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