Php Exec() Vs Shell_exec() Vs Over System()
RegisterLogin
Php Exec() Vs Shell_exec() Vs Over System()
Post Description: If You Are Familiar With Php, Have You Ever Wondered What Is The Difference Between Exec(), Shell_exec() And System()
Tags: Php, Exec(), Vs, Shell_exec(), Vs, Over, System()
This Post Was Posted On Feb 08, 2010 By Phpdevlpr #3121
Post Description: If You Are Familiar With Php, Have You Ever Wondered What Is The Difference Between Exec(), Shell_exec() And System()
Tags: Php, Exec(), Vs, Shell_exec(), Vs, Over, System()
This Post Was Posted On Feb 08, 2010 By Phpdevlpr #3121
Php Exec() Vs Shell_exec() Vs Over System() by Phpdevlpr
if you have a way of telling me, please
this is what i have so far
exec — Execute an external program
exec() executes the given command .
shell_exec — Execute command via shell and return the complete output as a string
[This function is identical to the backtick operator. ]
system — Execute an external program and display the output
system() is just like the C version of the function in that it executes the given command and outputs the result.
The system() call also tries to automatically flush the web server's output buffer after each line of output if PHP is running as a server module.
If you need to execute a command and have all the data from the command passed directly back without any interference, use the passthru() function.
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
dertilr
#3434 1
the only difference what they return / output what i can see
Feb 08, 2010 Reply Report abuse
©2011 Webune Forums - Sun Dec 18, 2011 3:44 pm
Powered by: Webune Forums V3
Powered by: Webune Forums V3