Hi everyone.
Sorry for the trivial question.
I want insert a .html inside of one .php file but without <html><head> and
<body> tags.
I built a routine (shown it down) it's running OK but show me the title
(<title>) of my html.
somebody can help with a routine a little me more effective than mine?
Thanks in advance.
--jp
> My Routine:
if ($myFile = fopen("html.html","r"))
{
while(!feof($myFile))
{
$myLine = fgetss($myFile, 256,"<a><p>");
$myLine = ereg_replace("\n","",$myLine);
print($myLine);
}
}
else
{
echo "file no found ";
}
________________________________________________________
Juan Pablo Aqueveque <[EMAIL PROTECTED]>
Ingeniero de Sistemas
Departamento de Redes y Comunicaciones http://www.drc.uct.cl
Universidad Cat�lica de Temuco.
Tel:(5645) 205 630 Fax:(5645) 205 628
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php