Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Backtick call appends extra space
March 31, 2008, 5:35 pm
rate this thread
Re: Backtick call appends extra space
It's not a space, it's a linefeed (look at the source generated; the
linefeed is converted to a space for presentation because of HTML
whitespace rules). This will happen with pretty much any command line
utility; they all must print a linefeed after their output to get your
prompt on the following line.
And like Heiko Richler said - trim() the output and you shouldn't have
- » Is there a difference between Zend Extension and PHP Extensions
- — Previous thread in » PHP Scripting Forum