dirname : File : File Directory PHP Source Code
Ajax
Ajax Examples
Ajax Tutorials
Scripts and Programs
Javascript
Javascript Examples Tutorials
DHTML Tutorials
Javascript References
Scripts and Programs
HTML
HTML Tutorials
HTML References
HTML DOM 0 References
HTML DOM 2 References
CSS
CSS Tutorials
CSS References
PHP
PHP Source Code
PHP References
Scripts and Programs
C#
C# Source Code
C# Examples
PHP Source Code
»
File Directory
»
File
»
dirname
<?php
$path =
"./test.txt"
;
$dirname = dirname
(
$path
)
;
echo $dirname;
?>
HTML code for linking to this page:
Related in same category :
realpath
File base name
PHP Function Reference -> Users Code Examples / Notes - > File:
Building PHP using DSW files [PHP 4]
The configuration file
Case 1: only public files served
Filesystem Security
Handling file uploads
Uploading multiple files
Using remote files
apc_compile_file
bcompiler_write_file
bcompiler_write_functions_from_file
bcompiler_write_included_filename
cpdf_save_to_file
cpdf_set_font_map_file
DOMDocument->loadHTMLFile()
DOMDocument->saveHTMLFile()
DomDocument->dump_file
DomXsltStylesheet->result_dump_file()
domxml_open_file
domxml_xslt_stylesheet_file
File Alteration Monitor Functions
fam_monitor_file
fdf_get_file
fdf_set_file
Fileinfo Functions
finfo_file
filePro Functions
filepro_fieldcount
filepro_fieldname
filepro_fieldtype
filepro_fieldwidth
filepro_retrieve
filepro_rowcount
filepro
Filesystem Functions
file_exists
file_get_contents
file_put_contents
file
fileatime
filectime
filegroup
fileinode
filemtime
fileowner
fileperms
filesize
filetype
is_file
is_uploaded_file
move_uploaded_file
parse_ini_file
readfile
set_file_buffer
tmpfile
geoip_db_filename
hash_file
hash_hmac_file
hash_update_file
HttpRequest::addPostFile
HttpRequest::getPostFiles
HttpRequest::getPutFile
HttpRequest::setPostFiles
HttpRequest::setPutFile
HttpResponse::getFile
HttpResponse::setFile
http_put_file
http_send_file
Imagick::getFilename
Imagick::getImageFilename
Imagick::getImageProfile
Imagick::getImageProfiles
Imagick::pingImageFile
Imagick::profileImage
Imagick::readImageFile
Imagick::removeImageProfile
Imagick::setFilename
Imagick::setImageFilename
Imagick::setImageProfile
ifx_blobinfile_mode
ircg_set_file
mailparse_msg_extract_part_file
mailparse_msg_extract_whole_part_file
mailparse_msg_parse_file
m_setdropfile
m_setssl_cafile
m_setssl_files
SWFMovie->saveToFile()
highlight_file
mysqli_set_local_infile_default
mysqli_set_local_infile_handler
OCI-Lob->saveFile
OCI-Lob->writeToFile
ocisavelobfile
ociwritelobtofile
openssl_csr_export_to_file
openssl_pkcs12_export_to_file
openssl_pkey_export_to_file
openssl_x509_export_to_file
Paradox File Access
px_set_blob_file
parsekit_compile_file
PDF_attach_file
PDF_load_iccprofile
PDF_open_file
PDF_open_image_file
Phar->compressAllFilesBZIP2
Phar->compressAllFilesGZ
Phar->uncompressAllFiles
PharFileInfo->chmod
PharFileInfo::__construct
PharFileInfo->getCompressedSize
PharFileInfo->getCRC32
PharFileInfo->getMetaData
PharFileInfo->getPharFlags
PharFileInfo->isCompressed
PharFileInfo->isCompressedBZIP2
PharFileInfo->isCompressedGZ
PharFileInfo->isCRCChecked
PharFileInfo->setCompressedBZIP2
PharFileInfo->setCompressedGZ
PharFileInfo->setMetaData
PharFileInfo->setUncompressed
get_included_files
get_required_files
php_ini_scanned_files
ps_include_file
ps_open_file
ps_open_image_file
Rar::getFileTime
recode_file
runkit_lint_file
SDO_DAS_XML::loadFile
SDO_DAS_XML::saveFile
simplexml_load_file
DirectoryIterator::getFilename
DirectoryIterator::isFile
ssh2_auth_hostbased_file
ssh2_auth_pubkey_file
md5_file
sha1_file
svn_fs_file_contents
svn_fs_file_length
svn_fs_is_file
svn_fs_make_file
swf_closefile
swf_openfile
tidy_parse_file
tidy_repair_file
xdiff_file_diff_binary
xdiff_file_diff
xdiff_file_merge3
xdiff_file_patch_binary
xdiff_file_patch
Zip File Functions
zip_entry_filesize
ZipArchive::addFile
gzfile
readgzfile
Migrating Configuration Files
Migrating Configuration Files
File Uploads
File System and Process Control
File System Related Extensions
HTTP File upload variables: $_FILES
Filesystem
PHP Source Code
File Directory
»
File
Directory Create Delete
Directory
Disk Drive
File Close
File Copy Move
File Delete
File Exist
File Lock
File Open
File Property
File Read
File Seek
File Upload
File Write
File
Path
Stream Context
Stream Filter
Text File Read
Text File Write
Chart
Class
COM and .Net (Windows)
Components
Cookie Session
Data Structure
Databases
Design Patterns
Development
Email
File Directory
Form
Functions
Graphics Image
HTML
Language Basics
Login Authentication
Math
MySQL Database
Network
String
Web Services SOAP WSDL
XML