Re: [PHP] Re: passthru

2007-08-06 Thread Richard Heyes
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 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 inclu

[PHP] Re: passthru

2007-08-06 Thread Colin Guthrie
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 tag. htmlspecialchars() >will do this for you. Does it? I thought it only replaced entities. \n is not a "special char"

[PHP] Re: passthru causes php to lose internal variables

2003-09-15 Thread exasperated
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? > > -- >

[PHP] Re: passthru loses php posted variables

2003-09-15 Thread Nicole
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-

[PHP] Re: passthru() problem

2003-07-02 Thread Kristin Schesonka
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

[PHP] Re: Passthru / exec question - '127' returned

2002-12-05 Thread Lee P. Reilly
Ahhh... no reply necessary. safe_mode :-o -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php