#30308 [Opn->Bgs]: system command execution with echo()

From: Date: Sat, 02 Oct 2004 10:57:18 +0000
Subject: #30308 [Opn->Bgs]: system command execution with echo()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-67029@lists.php.net to get a copy of this message
ID: 30308 Updated by: magnus@php.net Reported By: czke at czke dot com -Status: Open +Status: Bogus Bug Type: Strings related Operating System: Linux PHP Version: Irrelevant New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. This is a feature. Previous Comments: ------------------------------------------------------------------------ [2004-10-02 12:28:00] czke at czke dot com Description: ------------ It is posibble to execute system commands with echo using the "`". My opinion is that with a string function this should not be posible. Reproduce code: --------------- <?php echo "<pre>"; echo ls -l /; ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30308&edit=1

« previous php.bugs (#67029) next »