Parece Mentira, funciona bien con vob_preliminar.php
Pero al ponerle el id me sale el error :
Código PHP:
Warning: file_get_contents(): Unable to access /vservers/htdocs/modules/.php?vob_id=24 in /vservers//htdocs/modules/.php on line 6
Warning: file_get_contents(/vservers/?vob_id=24): failed to open stream: No such file or directory in /vservers/.php on line 6
Lo que estoy Ejecutando :
Código PHP:
<?
$vob_id=$_GET['vob_id'];
$archivo="/vservers/?vob_id=$vob_id";
$msj=file_get_contents($archivo);
?>
<?
$sfrom="[email protected]"; //cuenta que envia
$sdestinatario="[email protected]"; //cuenta destino
$ssubject=""; //subject
$shtml="$msj";
$sheader="From:".$sfrom."\nReply-To:".$sfrom."\n";
$sheader=$sheader."X-Mailer:PHP/".phpversion()."\n";
$sheader=$sheader."Mime-Version: 1.0\n";
$sheader=$sheader."Content-Type: text/html";
mail($sdestinatario,$ssubject,$shtml,$sheader);
?>