Richard Heyes wrote:
Does anyone know way to passthru man pages so they don't show the
ascii formating?
You could:
1) Replace all newlines (ASCII 10) with a br tag. htmlspecialchars()
will do this for you.
Does it? I thought it only replaced entities. \n is not a special char
in html
Does anyone know way to passthru man pages so they don't show the
ascii formating?
You could:
1) Replace all newlines (ASCII 10) with a br tag. htmlspecialchars()
will do this for you.
Does it? I thought it only replaced entities. \n is not a special char
in html lingo in that you can
Hi,
Did you try using the system() command instead and skip using exec and
passthru?
--
Nicole
Exasperated [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Anyone come across something like this before?
I have made a little test script as follows:
?
header (Content-Type:
system() has the same problem as passthru. Thanks for the suggestion
anyway.
I wonder if I should post this to the bug list?
Nicole [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Did you try using the system() command instead and skip using exec and
passthru?
--
Nicole
I don't know much about System or passthru - but doesn't it have to be
something like:
passthru(ftpwho -v, $return_var);
echo $return_var;
Because it is a reference Parameter und without the the function can't
put the value into $return_var.
Greetings
Kristin Schesonka
passthru(ftpwho -v,
Ahhh... no reply necessary.
safe_mode :-o
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
6 matches
Mail list logo