Jump to content

how to create a sub directory


chennaibala

Recommended Posts

hi..

 

// make a note of the current working directory, relative to root.
$directory_self = str_replace(basename($_SERVER['PHP_SELF']), '', $_SERVER['PHP_SELF']);

// make a note of the directory that will recieve the uploaded files
$upDirectory = $_SERVER['DOCUMENT_ROOT'] . $directory_self . 'upfiles/';

i want to create a sub directory below upfiles directory..thanks in advances..

Link to comment
https://forums.phpfreaks.com/topic/177059-how-to-create-a-sub-directory/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.