Hi all,

Is there an easy way to remove <?php...?> tag from a string ?
Ive got this script and i want it to output only html...
I know i can do this with regular expression but i wonder if there are some
native function to do the job.

    $out = implode("\n", file ($_SERVER['PATH_TRANSLATED']));
    echo function_to_remove_php_tags($out);
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<body bgcolor="#FFFFFF" text="#000000">
Hello !!!

Regards !

Rémy Dufour

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to