Código PHP:
<?php
if ($nombre == "" or $email == "" or $asunto == "" or $texto == ""){
include ("error.php");
} else {
include("motor.php");
}
?>
si no tenes las variables globales activadas esas variables no tienen valores,proba asi:
Código PHP:
<?php
if ($_POST[nombre] == "" or $_POST[email] == "" or $_POST[asunto] == "" or $_POST[texto] == ""){
include ("error.php");
} else {
include("motor.php");
}
?>