Feb 19, 2004 #1 jimbojames5645 Programmer Joined Dec 12, 2003 Messages 36 Location US what's wrong w/ this :`echo $str >> file`; nothing shows up in the file, however when i do `echo "bubba" >> file`;, it works fine.
what's wrong w/ this :`echo $str >> file`; nothing shows up in the file, however when i do `echo "bubba" >> file`;, it works fine.
Feb 19, 2004 #2 sleipnir214 Programmer Joined May 6, 2002 Messages 15,350 Location US This script: Code: <?php $str = 'foo'; `echo $str >> thefile.txt`; ?> Works fine for me, both through a web page and through the command-line. What version of PHP are you running on what platform? Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!! Upvote 0 Downvote
This script: Code: <?php $str = 'foo'; `echo $str >> thefile.txt`; ?> Works fine for me, both through a web page and through the command-line. What version of PHP are you running on what platform? Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!!
Feb 19, 2004 Thread starter #3 jimbojames5645 Programmer Joined Dec 12, 2003 Messages 36 Location US php 4.3.1 debian 3 apache 1.3.26 Upvote 0 Downvote
Feb 19, 2004 #4 sleipnir214 Programmer Joined May 6, 2002 Messages 15,350 Location US What is the value in $str? Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!! Upvote 0 Downvote
What is the value in $str? Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!!