Code: Select all
$description = shell_exec("php propertytemplate.php id=$id");
echo $description;-Joe
Moderator: General Moderators
Code: Select all
$description = shell_exec("php propertytemplate.php id=$id");
echo $description;Code: Select all
/usr/local/bin/php -f propertytemplate.phpCode: Select all
$description = shell_exec("php");
//or
$description = shell_exec("php propertytemplate.php");Code: Select all
output_end_flush();//dump whatever's already in the output buffer
ob_start();//start output buffering
include('property_template.php');
$output_contents = ob_get_contents()//get the contents of the output buffer;
ob_end_clean();//silently discard what's in the buffer, and stop output buffering