Re: [PHP] hi, highlight_string.

2001-05-22 Thread Michel 'ZioBudda' Morelli

On Mon, 21 May 2001, Alexander Wagner wrote:

Michel 'ZioBudda' Morelli wrote:
 Hi, I want to save into a variable ($tmp) the value of
 highlight_string command. Any one? or any similar function?

Have a look at PHP 4's output buffering functions. You can use them to
safe the output instead of displaying it.

no, not work.

e.g.:

?
ob_start();

$f = fopen(one_file.php,r);
$f2 = fread($f,4);
fclose($f);

$pippo = highlight_string($f2);
echo quabr;
echo $pippo;
echo quabr;
?

tnx however

-- 
Attenzione, il file o directory non è utilizzabile perchè il
disco o floppy è entrato in un ciclo rindondante.
( Messaggio reale su Windows NT4 Server )
--
Michel ZioBudda Morelli   [EMAIL PROTECTED]

ICQ UIN: 58351764   PR of Linux in Italy
http://www.ziobudda.net http://www.linuxlab.it


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] hi, highlight_string.

2001-05-21 Thread Michel 'ZioBudda' Morelli

Hi, I want to save into a variable ($tmp) the value of highlight_string
command. Any one? or any similar function?

-- 
SORDOMUTO TENTA DUE RAPINE MA NON RIESCE A FARSI CAPIRE
(Dai Giornali)

--
Michel ZioBudda Morelli   [EMAIL PROTECTED]

ICQ UIN: 58351764   PR of Linux in Italy
http://www.ziobudda.net http://www.linuxlab.it


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] hi, highlight_string.

2001-05-21 Thread Alexander Wagner

Michel 'ZioBudda' Morelli wrote:
 Hi, I want to save into a variable ($tmp) the value of
 highlight_string command. Any one? or any similar function?

Have a look at PHP 4's output buffering functions. You can use them to 
safe the output instead of displaying it.

regards
Wagner

-- 
Some guy hit my fender, and I told him, 'Be fruitful and multiply,' 
but not in those words.
 - Woody Allen

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]