Join Up!
96810 members and counting!

 
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links 
search for in the  
previousescapeshellargexecnext
Last updated: Tue, 29 Oct 2002
view the printer friendly version or the printer friendly version with notes or change language to Czech | Finnish | German

escapeshellcmd

(PHP 3, PHP 4 )

escapeshellcmd -- enmascara los metacaracteres del intérprete de ordenes

Descripción

string escapeshellcmd ( string command)

EscapeShellCmd() enmascara cualquier carácter en una cadena de caracteres que pueda usarse para introducir fraudulentamente una orden al intérprete de órdenes para que éste ejecute instrucciones arbitrarias. Esta función se debería usar para asegurarse que cualquier dato que venga del usuario se enmascare antes de que éste se le pase a las funciones exec() o system(), o al operador ` (apóstrofe invertido) . Un uso habitual podría ser:

system(EscapeShellCmd($cmd))

Véase también exec(), popen(), system(), y el operador ` (apóstrofe invertido).

User Contributed Notes
escapeshellcmd
add a note about notes
There are no user contributed notes for this page.
previousescapeshellargexecnext
Last updated: Tue, 29 Oct 2002
Copyright © 2001, 2002 The PHP Group
All rights reserved.
This mirror generously provided by: http://phpbuilder.com/
Last updated: Thu Oct 31 18:34:28 2002 EST