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

111 Like 44 Dislike
Previous php-forum Next php-forum
Other php-forum

str_replace help
Hey there,

I'm a PHP newb, I'm having troubles with the str_replace function. I want to clean

Calling All PHPFREAKS Blackberry Users
Are you a member of PHPFreaks and have a blackberry? Well RIM just recently released Blackberry Mes

reading xml faster than DB call?
I am trying to optimize a high traffic website, and I enabled a feature where there are three photos

Login Functionality Working Different on IE
This is an odd one, I have a site which has an admin section. The admin pages unsurprisingly require

Sessions Value Not Saved
Hi,

Im making a login form and im using this code:
Code: if($login=="true"){

Page doesn't expand for content
Hi. I've been testing a query I made. It's here http://lapr1.6te.net/inquerito.php
The page doesn

$get problem
Hi Guys ...

can you please tell me what i am doing wrong here
Code: <?php

mysql select with $_get ?
Hi, i have this code:
Code: // If char id is 0 and character dont exist do:
if ($_GET["id

Multiple while loops
I have several DB queries that I know should be returning results and aren't. I have a feeling it ha

Java API in PHP?
I have an application that we use internally here at the office.

The software company provide

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