René's URL Explorer Experiment


Title: PHP: exec - Manual

X Title: PHP: exec - Manual

Open Graph Description: Execute an external program

X Description: Execute an external program

X: @official_php

direct link

Domain: php.net

DescriptionExecute an external program
twitter:cardsummary_large_image
twitter:creator@official_php
twitter:image:srchttps://www.php.net/images/meta-image.png
Nonehttps://www.php.net/images/meta-image.png
og:imagehttps://www.php.net/images/meta-image.png

Links:

update page nowhttps://php.net/x-myracloud-5958a2bbbed300a9b9ac631223924e0b/1768211095.991
https://php.net/
Downloads https://php.net/downloads.php
Documentation https://php.net/docs.php
Get Involved https://php.net/get-involved.php
Help https://php.net/support.php
https://php.net/releases/8.5/index.php
https://php.net/lookup-form.php
https://php.net/menu.php
Getting Startedhttps://php.net/manual/en/getting-started.php
Introductionhttps://php.net/manual/en/introduction.php
A simple tutorialhttps://php.net/manual/en/tutorial.php
Language Referencehttps://php.net/manual/en/langref.php
Basic syntaxhttps://php.net/manual/en/language.basic-syntax.php
Typeshttps://php.net/manual/en/language.types.php
Variableshttps://php.net/manual/en/language.variables.php
Constantshttps://php.net/manual/en/language.constants.php
Expressionshttps://php.net/manual/en/language.expressions.php
Operatorshttps://php.net/manual/en/language.operators.php
Control Structureshttps://php.net/manual/en/language.control-structures.php
Functionshttps://php.net/manual/en/language.functions.php
Classes and Objectshttps://php.net/manual/en/language.oop5.php
Namespaceshttps://php.net/manual/en/language.namespaces.php
Enumerationshttps://php.net/manual/en/language.enumerations.php
Errorshttps://php.net/manual/en/language.errors.php
Exceptionshttps://php.net/manual/en/language.exceptions.php
Fibershttps://php.net/manual/en/language.fibers.php
Generatorshttps://php.net/manual/en/language.generators.php
Attributeshttps://php.net/manual/en/language.attributes.php
References Explainedhttps://php.net/manual/en/language.references.php
Predefined Variableshttps://php.net/manual/en/reserved.variables.php
Predefined Exceptionshttps://php.net/manual/en/reserved.exceptions.php
Predefined Interfaces and Classeshttps://php.net/manual/en/reserved.interfaces.php
Predefined Attributeshttps://php.net/manual/en/reserved.attributes.php
Context options and parametershttps://php.net/manual/en/context.php
Supported Protocols and Wrappershttps://php.net/manual/en/wrappers.php
Securityhttps://php.net/manual/en/security.php
Introductionhttps://php.net/manual/en/security.intro.php
General considerationshttps://php.net/manual/en/security.general.php
Installed as CGI binaryhttps://php.net/manual/en/security.cgi-bin.php
Installed as an Apache modulehttps://php.net/manual/en/security.apache.php
Session Securityhttps://php.net/manual/en/security.sessions.php
Filesystem Securityhttps://php.net/manual/en/security.filesystem.php
Database Securityhttps://php.net/manual/en/security.database.php
Error Reportinghttps://php.net/manual/en/security.errors.php
User Submitted Datahttps://php.net/manual/en/security.variables.php
Hiding PHPhttps://php.net/manual/en/security.hiding.php
Keeping Currenthttps://php.net/manual/en/security.current.php
Featureshttps://php.net/manual/en/features.php
HTTP authentication with PHPhttps://php.net/manual/en/features.http-auth.php
Cookieshttps://php.net/manual/en/features.cookies.php
Sessionshttps://php.net/manual/en/features.sessions.php
Handling file uploadshttps://php.net/manual/en/features.file-upload.php
Using remote fileshttps://php.net/manual/en/features.remote-files.php
Connection handlinghttps://php.net/manual/en/features.connection-handling.php
Persistent Database Connectionshttps://php.net/manual/en/features.persistent-connections.php
Command line usagehttps://php.net/manual/en/features.commandline.php
Garbage Collectionhttps://php.net/manual/en/features.gc.php
DTrace Dynamic Tracinghttps://php.net/manual/en/features.dtrace.php
Function Referencehttps://php.net/manual/en/funcref.php
Affecting PHP's Behaviourhttps://php.net/manual/en/refs.basic.php.php
Audio Formats Manipulationhttps://php.net/manual/en/refs.utilspec.audio.php
Authentication Serviceshttps://php.net/manual/en/refs.remote.auth.php
Command Line Specific Extensionshttps://php.net/manual/en/refs.utilspec.cmdline.php
Compression and Archive Extensionshttps://php.net/manual/en/refs.compression.php
Cryptography Extensionshttps://php.net/manual/en/refs.crypto.php
Database Extensionshttps://php.net/manual/en/refs.database.php
Date and Time Related Extensionshttps://php.net/manual/en/refs.calendar.php
File System Related Extensionshttps://php.net/manual/en/refs.fileprocess.file.php
Human Language and Character Encoding Supporthttps://php.net/manual/en/refs.international.php
Image Processing and Generationhttps://php.net/manual/en/refs.utilspec.image.php
Mail Related Extensionshttps://php.net/manual/en/refs.remote.mail.php
Mathematical Extensionshttps://php.net/manual/en/refs.math.php
Non-Text MIME Outputhttps://php.net/manual/en/refs.utilspec.nontext.php
Process Control Extensionshttps://php.net/manual/en/refs.fileprocess.process.php
Other Basic Extensionshttps://php.net/manual/en/refs.basic.other.php
Other Serviceshttps://php.net/manual/en/refs.remote.other.php
Search Engine Extensionshttps://php.net/manual/en/refs.search.php
Server Specific Extensionshttps://php.net/manual/en/refs.utilspec.server.php
Session Extensionshttps://php.net/manual/en/refs.basic.session.php
Text Processinghttps://php.net/manual/en/refs.basic.text.php
Variable and Type Related Extensionshttps://php.net/manual/en/refs.basic.vartype.php
Web Serviceshttps://php.net/manual/en/refs.webservice.php
Windows Only Extensionshttps://php.net/manual/en/refs.utilspec.windows.php
XML Manipulationhttps://php.net/manual/en/refs.xml.php
GUI Extensionshttps://php.net/manual/en/refs.ui.php
passthru » https://php.net/function.passthru.php
« escapeshellcmd https://php.net/function.escapeshellcmd.php
PHP Manualhttps://php.net/index.php
Function Referencehttps://php.net/funcref.php
Process Control Extensionshttps://php.net/refs.fileprocess.process.php
Program executionhttps://php.net/book.exec.php
Program execution Functionshttps://php.net/ref.exec.php
stringhttps://php.net/language.types.string.php
arrayhttps://php.net/language.types.array.php
nullhttps://php.net/reserved.constants.php#constant.null
inthttps://php.net/language.types.integer.php
nullhttps://php.net/reserved.constants.php#constant.null
stringhttps://php.net/language.types.string.php
falsehttps://php.net/language.types.singleton.php
unset()https://php.net/function.unset.php
passthru()https://php.net/function.passthru.php
falsehttps://php.net/reserved.constants.php#constant.false
E_WARNINGhttps://php.net/errorfunc.constants.php#constant.e-warning
ValueErrorhttps://php.net/class.valueerror.php
ValueErrorhttps://php.net/class.valueerror.php
E_WARNINGhttps://php.net/errorfunc.constants.php#constant.e-warning
falsehttps://php.net/reserved.constants.php#constant.false
escapeshellarg()https://php.net/function.escapeshellarg.php
escapeshellcmd()https://php.net/function.escapeshellcmd.php
proc_open()https://php.net/function.proc-open.php
system()https://php.net/function.system.php
passthru()https://php.net/function.passthru.php
escapeshellcmd()https://php.net/function.escapeshellcmd.php
pcntl_exec()https://php.net/function.pcntl-exec.php
backtick operatorhttps://php.net/language.operators.execution.php
Learn How To Improve This Pagehttps://github.com/php/doc-base/blob/master/README.md
Submit a Pull Requesthttps://github.com/php/doc-en/blob/master/reference/exec/functions/exec.xml
Report a Bughttps://github.com/php/doc-en/issues/new?body=From%20manual%20page:%20https:%2F%2Fphp.net%2Ffunction.exec%0A%0A---
+add a notehttps://php.net/manual/add-note.php?sect=function.exec&repo=en&redirect=https://www.php.net/manual/en/function.exec.php
uphttps://php.net/manual/vote-note.php?id=86329&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=86329&page=function.exec&vote=down
Arno van den Brinkhttps://php.net/function.exec.php#86329
https://php.net/function.exec.php#86329
uphttps://php.net/manual/vote-note.php?id=128899&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=128899&page=function.exec&vote=down
tsmtgdi at gmail dot comhttps://php.net/function.exec.php#128899
https://php.net/function.exec.php#128899
uphttps://php.net/manual/vote-note.php?id=88704&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=88704&page=function.exec&vote=down
dell_petter at hotmail dot comhttps://php.net/function.exec.php#88704
https://php.net/function.exec.php#88704
uphttps://php.net/manual/vote-note.php?id=116222&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=116222&page=function.exec&vote=down
Simonhttps://php.net/function.exec.php#116222
https://php.net/function.exec.php#116222
uphttps://php.net/manual/vote-note.php?id=127532&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=127532&page=function.exec&vote=down
php dot reg at kjpetrie dot co dot ukhttps://php.net/function.exec.php#127532
https://php.net/function.exec.php#127532
uphttps://php.net/manual/vote-note.php?id=43917&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=43917&page=function.exec&vote=down
msheakoski @t yahoo d@t comhttps://php.net/function.exec.php#43917
https://php.net/function.exec.php#43917
http://msdn.microsoft.com/library/en-us/script56/html/wsMthRun.asphttp://msdn.microsoft.com/library/en-us/script56/html/wsMthRun.asp
uphttps://php.net/manual/vote-note.php?id=76687&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=76687&page=function.exec&vote=down
Farhad Malekpourhttps://php.net/function.exec.php#76687
https://php.net/function.exec.php#76687
uphttps://php.net/manual/vote-note.php?id=99781&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=99781&page=function.exec&vote=down
elwiz at 3e dot plhttps://php.net/function.exec.php#99781
https://php.net/function.exec.php#99781
http://bugs.php.net/bug.php?id=44942http://bugs.php.net/bug.php?id=44942
uphttps://php.net/manual/vote-note.php?id=119331&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=119331&page=function.exec&vote=down
Paul Sommerhttps://php.net/function.exec.php#119331
https://php.net/function.exec.php#119331
uphttps://php.net/manual/vote-note.php?id=57904&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=57904&page=function.exec&vote=down
Bob-PHP at HamsterRepublic dot comhttps://php.net/function.exec.php#57904
https://php.net/function.exec.php#57904
uphttps://php.net/manual/vote-note.php?id=124878&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=124878&page=function.exec&vote=down
Hypolite Petovanhttps://php.net/function.exec.php#124878
https://php.net/function.exec.php#124878
uphttps://php.net/manual/vote-note.php?id=101837&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=101837&page=function.exec&vote=down
juan at laluca dot comhttps://php.net/function.exec.php#101837
https://php.net/function.exec.php#101837
uphttps://php.net/manual/vote-note.php?id=18727&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=18727&page=function.exec&vote=down
hans at internit dot NO_SPAM dot comhttps://php.net/function.exec.php#18727
https://php.net/function.exec.php#18727
uphttps://php.net/manual/vote-note.php?id=129008&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=129008&page=function.exec&vote=down
mamedul.github.iohttps://php.net/function.exec.php#129008
https://php.net/function.exec.php#129008
uphttps://php.net/manual/vote-note.php?id=128294&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=128294&page=function.exec&vote=down
no at mail dot comhttps://php.net/function.exec.php#128294
https://php.net/function.exec.php#128294
uphttps://php.net/manual/vote-note.php?id=101506&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=101506&page=function.exec&vote=down
Martin Lakeshttps://php.net/function.exec.php#101506
https://php.net/function.exec.php#101506
uphttps://php.net/manual/vote-note.php?id=126521&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=126521&page=function.exec&vote=down
krjdev at gmail dot comhttps://php.net/function.exec.php#126521
https://php.net/function.exec.php#126521
uphttps://php.net/manual/vote-note.php?id=125957&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=125957&page=function.exec&vote=down
ivkhttps://php.net/function.exec.php#125957
https://php.net/function.exec.php#125957
uphttps://php.net/manual/vote-note.php?id=101579&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=101579&page=function.exec&vote=down
alvaro at demogracia dot comhttps://php.net/function.exec.php#101579
https://php.net/function.exec.php#101579
http://ss64.com/nt/cmd.htmlhttp://ss64.com/nt/cmd.html
http://svn.php.net/viewvc/http://svn.php.net/viewvc/
uphttps://php.net/manual/vote-note.php?id=80582&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=80582&page=function.exec&vote=down
dr_jones153 at hotmail dot comhttps://php.net/function.exec.php#80582
https://php.net/function.exec.php#80582
uphttps://php.net/manual/vote-note.php?id=49172&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=49172&page=function.exec&vote=down
layton at layton dot tkhttps://php.net/function.exec.php#49172
https://php.net/function.exec.php#49172
uphttps://php.net/manual/vote-note.php?id=89716&page=function.exec&vote=up
downhttps://php.net/manual/vote-note.php?id=89716&page=function.exec&vote=down
bahri at bahri dot infohttps://php.net/function.exec.php#89716
https://php.net/function.exec.php#89716
http://php.net/exec#59428http://php.net/exec#59428
+add a notehttps://php.net/manual/add-note.php?sect=function.exec&repo=en&redirect=https://www.php.net/manual/en/function.exec.php
Program execution Functionshttps://php.net/ref.exec.php
escapeshellarghttps://php.net/function.escapeshellarg.php
escapeshellcmdhttps://php.net/function.escapeshellcmd.php
exechttps://php.net/function.exec.php
passthruhttps://php.net/function.passthru.php
proc_​closehttps://php.net/function.proc-close.php
proc_​get_​statushttps://php.net/function.proc-get-status.php
proc_​nicehttps://php.net/function.proc-nice.php
proc_​openhttps://php.net/function.proc-open.php
proc_​terminatehttps://php.net/function.proc-terminate.php
shell_​exechttps://php.net/function.shell-exec.php
systemhttps://php.net/function.system.php
Copyright © 2001-2026 The PHP Documentation Grouphttps://php.net/manual/en/copyright.php
My PHP.nethttps://php.net/my.php
Contacthttps://php.net/contact.php
Other PHP.net siteshttps://php.net/sites.php
Privacy policyhttps://php.net/privacy.php
javascript:;

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.