René's URL Explorer Experiment


Title: PHP: readfile - Manual

X Title: PHP: readfile - Manual

Open Graph Description: Outputs a file

X Description: Outputs a file

X: @official_php

direct link

Domain: php.net

DescriptionOutputs a file
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/1768256888.719
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
readlink » https://php.net/function.readlink.php
« popen https://php.net/function.popen.php
PHP Manualhttps://php.net/index.php
Function Referencehttps://php.net/funcref.php
File System Related Extensionshttps://php.net/refs.fileprocess.file.php
Filesystemhttps://php.net/book.filesystem.php
Filesystem Functionshttps://php.net/ref.filesystem.php
stringhttps://php.net/language.types.string.php
boolhttps://php.net/language.types.boolean.php
falsehttps://php.net/reserved.constants.php#constant.false
?https://php.net/language.types.null.php
resourcehttps://php.net/language.types.resource.php
nullhttps://php.net/reserved.constants.php#constant.null
inthttps://php.net/language.types.integer.php
falsehttps://php.net/language.types.singleton.php
truehttps://php.net/reserved.constants.php#constant.true
include_pathhttps://php.net/ini.core.php#ini.include-path
context streamhttps://php.net/stream.contexts.php
resourcehttps://php.net/language.types.resource.php
falsehttps://php.net/reserved.constants.php#constant.false
E_WARNINGhttps://php.net/errorfunc.constants.php#constant.e-warning
ob_get_level()https://php.net/function.ob-get-level.php
fopen wrappershttps://php.net/filesystem.configuration.php#ini.allow-url-fopen
fopen()https://php.net/function.fopen.php
Supported Protocols and Wrappershttps://php.net/wrappers.php
fpassthru()https://php.net/function.fpassthru.php
file()https://php.net/function.file.php
fopen()https://php.net/function.fopen.php
includehttps://php.net/function.include.php
requirehttps://php.net/function.require.php
virtual()https://php.net/function.virtual.php
file_get_contents()https://php.net/function.file-get-contents.php
Supported Protocols and Wrappershttps://php.net/wrappers.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/filesystem/functions/readfile.xml
Report a Bughttps://github.com/php/doc-en/issues/new?body=From%20manual%20page:%20https:%2F%2Fphp.net%2Ffunction.readfile%0A%0A---
+add a notehttps://php.net/manual/add-note.php?sect=function.readfile&repo=en&redirect=https://www.php.net/manual/en/function.readfile.php
uphttps://php.net/manual/vote-note.php?id=114450&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=114450&page=function.readfile&vote=down
riksoft at gmail dot comhttps://php.net/function.readfile.php#114450
https://php.net/function.readfile.php#114450
http://kb.mozillazine.org/Filenames_with_spaces_are_truncated_upon_downloadhttp://kb.mozillazine.org/Filenames_with_spaces_are_truncated_upon_download
uphttps://php.net/manual/vote-note.php?id=83653&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=83653&page=function.readfile&vote=down
yura_imbp at mail dot ruhttps://php.net/function.readfile.php#83653
https://php.net/function.readfile.php#83653
uphttps://php.net/manual/vote-note.php?id=122771&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=122771&page=function.readfile&vote=down
Paulinatorhttps://php.net/function.readfile.php#122771
https://php.net/function.readfile.php#122771
uphttps://php.net/manual/vote-note.php?id=78582&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=78582&page=function.readfile&vote=down
Hayley Watsonhttps://php.net/function.readfile.php#78582
https://php.net/function.readfile.php#78582
uphttps://php.net/manual/vote-note.php?id=81032&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=81032&page=function.readfile&vote=down
TimBhttps://php.net/function.readfile.php#81032
https://php.net/function.readfile.php#81032
uphttps://php.net/manual/vote-note.php?id=86478&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=86478&page=function.readfile&vote=down
levhita at gmail dot comhttps://php.net/function.readfile.php#86478
https://php.net/function.readfile.php#86478
uphttps://php.net/manual/vote-note.php?id=81925&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=81925&page=function.readfile&vote=down
marro at email dot czhttps://php.net/function.readfile.php#81925
https://php.net/function.readfile.php#81925
uphttps://php.net/manual/vote-note.php?id=52598&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=52598&page=function.readfile&vote=down
flobee at gmail dot comhttps://php.net/function.readfile.php#52598
https://php.net/function.readfile.php#52598
uphttps://php.net/manual/vote-note.php?id=126169&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=126169&page=function.readfile&vote=down
jorensmerenjanu at gmail dot comhttps://php.net/function.readfile.php#126169
https://php.net/function.readfile.php#126169
uphttps://php.net/manual/vote-note.php?id=86244&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=86244&page=function.readfile&vote=down
gaosipov at gmail dot comhttps://php.net/function.readfile.php#86244
https://php.net/function.readfile.php#86244
uphttps://php.net/manual/vote-note.php?id=125826&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=125826&page=function.readfile&vote=down
simbiat at outlook dot comhttps://php.net/function.readfile.php#125826
https://php.net/function.readfile.php#125826
https://github.com/Simbiat/HTTP20https://github.com/Simbiat/HTTP20
uphttps://php.net/manual/vote-note.php?id=103837&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=103837&page=function.readfile&vote=down
daren -remove-me- schwenkehttps://php.net/function.readfile.php#103837
https://php.net/function.readfile.php#103837
uphttps://php.net/manual/vote-note.php?id=54295&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=54295&page=function.readfile&vote=down
chrisputnam at gmail dot comhttps://php.net/function.readfile.php#54295
https://php.net/function.readfile.php#54295
uphttps://php.net/manual/vote-note.php?id=70296&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=70296&page=function.readfile&vote=down
mAuhttps://php.net/function.readfile.php#70296
https://php.net/function.readfile.php#70296
uphttps://php.net/manual/vote-note.php?id=56986&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=56986&page=function.readfile&vote=down
antispam [at] rdx page [dot] comhttps://php.net/function.readfile.php#56986
https://php.net/function.readfile.php#56986
uphttps://php.net/manual/vote-note.php?id=114483&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=114483&page=function.readfile&vote=down
Brianhttps://php.net/function.readfile.php#114483
https://php.net/function.readfile.php#114483
uphttps://php.net/manual/vote-note.php?id=57972&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=57972&page=function.readfile&vote=down
peavey at pixelpickers dot comhttps://php.net/function.readfile.php#57972
https://php.net/function.readfile.php#57972
uphttps://php.net/manual/vote-note.php?id=57861&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=57861&page=function.readfile&vote=down
planetmaster at planetgac dot comhttps://php.net/function.readfile.php#57861
https://php.net/function.readfile.php#57861
http://www.yourdomain.com/download.php?id=xx&hit=1http://www.yourdomain.com/download.php?id=xx&hit=1
uphttps://php.net/manual/vote-note.php?id=46838&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=46838&page=function.readfile&vote=down
Thomas Jespersenhttps://php.net/function.readfile.php#46838
https://php.net/function.readfile.php#46838
uphttps://php.net/manual/vote-note.php?id=52077&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=52077&page=function.readfile&vote=down
TheDayOfCondorhttps://php.net/function.readfile.php#52077
https://php.net/function.readfile.php#52077
uphttps://php.net/manual/vote-note.php?id=123819&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=123819&page=function.readfile&vote=down
Anonymoushttps://php.net/function.readfile.php#123819
https://php.net/function.readfile.php#123819
uphttps://php.net/manual/vote-note.php?id=52302&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=52302&page=function.readfile&vote=down
TheDayOfCondorhttps://php.net/function.readfile.php#52302
https://php.net/function.readfile.php#52302
uphttps://php.net/manual/vote-note.php?id=98046&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=98046&page=function.readfile&vote=down
Zambzhttps://php.net/function.readfile.php#98046
https://php.net/function.readfile.php#98046
uphttps://php.net/manual/vote-note.php?id=120187&page=function.readfile&vote=up
downhttps://php.net/manual/vote-note.php?id=120187&page=function.readfile&vote=down
anonhttps://php.net/function.readfile.php#120187
https://php.net/function.readfile.php#120187
+add a notehttps://php.net/manual/add-note.php?sect=function.readfile&repo=en&redirect=https://www.php.net/manual/en/function.readfile.php
Filesystem Functionshttps://php.net/ref.filesystem.php
basenamehttps://php.net/function.basename.php
chgrphttps://php.net/function.chgrp.php
chmodhttps://php.net/function.chmod.php
chownhttps://php.net/function.chown.php
clearstatcachehttps://php.net/function.clearstatcache.php
copyhttps://php.net/function.copy.php
deletehttps://php.net/function.delete.php
dirnamehttps://php.net/function.dirname.php
disk_​free_​spacehttps://php.net/function.disk-free-space.php
disk_​total_​spacehttps://php.net/function.disk-total-space.php
diskfreespacehttps://php.net/function.diskfreespace.php
fclosehttps://php.net/function.fclose.php
fdatasynchttps://php.net/function.fdatasync.php
feofhttps://php.net/function.feof.php
fflushhttps://php.net/function.fflush.php
fgetchttps://php.net/function.fgetc.php
fgetcsvhttps://php.net/function.fgetcsv.php
fgetshttps://php.net/function.fgets.php
fgetsshttps://php.net/function.fgetss.php
filehttps://php.net/function.file.php
file_​existshttps://php.net/function.file-exists.php
file_​get_​contentshttps://php.net/function.file-get-contents.php
file_​put_​contentshttps://php.net/function.file-put-contents.php
fileatimehttps://php.net/function.fileatime.php
filectimehttps://php.net/function.filectime.php
filegrouphttps://php.net/function.filegroup.php
fileinodehttps://php.net/function.fileinode.php
filemtimehttps://php.net/function.filemtime.php
fileownerhttps://php.net/function.fileowner.php
filepermshttps://php.net/function.fileperms.php
filesizehttps://php.net/function.filesize.php
filetypehttps://php.net/function.filetype.php
flockhttps://php.net/function.flock.php
fnmatchhttps://php.net/function.fnmatch.php
fopenhttps://php.net/function.fopen.php
fpassthruhttps://php.net/function.fpassthru.php
fputcsvhttps://php.net/function.fputcsv.php
fputshttps://php.net/function.fputs.php
freadhttps://php.net/function.fread.php
fscanfhttps://php.net/function.fscanf.php
fseekhttps://php.net/function.fseek.php
fstathttps://php.net/function.fstat.php
fsynchttps://php.net/function.fsync.php
ftellhttps://php.net/function.ftell.php
ftruncatehttps://php.net/function.ftruncate.php
fwritehttps://php.net/function.fwrite.php
globhttps://php.net/function.glob.php
is_​dirhttps://php.net/function.is-dir.php
is_​executablehttps://php.net/function.is-executable.php
is_​filehttps://php.net/function.is-file.php
is_​linkhttps://php.net/function.is-link.php
is_​readablehttps://php.net/function.is-readable.php
is_​uploaded_​filehttps://php.net/function.is-uploaded-file.php
is_​writablehttps://php.net/function.is-writable.php
is_​writeablehttps://php.net/function.is-writeable.php
lchgrphttps://php.net/function.lchgrp.php
lchownhttps://php.net/function.lchown.php
linkhttps://php.net/function.link.php
linkinfohttps://php.net/function.linkinfo.php
lstathttps://php.net/function.lstat.php
mkdirhttps://php.net/function.mkdir.php
move_​uploaded_​filehttps://php.net/function.move-uploaded-file.php
parse_​ini_​filehttps://php.net/function.parse-ini-file.php
parse_​ini_​stringhttps://php.net/function.parse-ini-string.php
pathinfohttps://php.net/function.pathinfo.php
pclosehttps://php.net/function.pclose.php
popenhttps://php.net/function.popen.php
readfilehttps://php.net/function.readfile.php
readlinkhttps://php.net/function.readlink.php
realpathhttps://php.net/function.realpath.php
realpath_​cache_​gethttps://php.net/function.realpath-cache-get.php
realpath_​cache_​sizehttps://php.net/function.realpath-cache-size.php
renamehttps://php.net/function.rename.php
rewindhttps://php.net/function.rewind.php
rmdirhttps://php.net/function.rmdir.php
set_​file_​bufferhttps://php.net/function.set-file-buffer.php
stathttps://php.net/function.stat.php
symlinkhttps://php.net/function.symlink.php
tempnamhttps://php.net/function.tempnam.php
tmpfilehttps://php.net/function.tmpfile.php
touchhttps://php.net/function.touch.php
umaskhttps://php.net/function.umask.php
unlinkhttps://php.net/function.unlink.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.