answersLogoWhite

0

chdir() PHP function helps in changing the current directory.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How do you get the current working directory in PHP?

$curr_dir = getcwd();


What is the command that will change the current default directory to the root directory in Unix?

CD /


What command line is used to change the current directory?

cd dirReplace "dir" with the name of your directory.


How do you change path in Linux?

You change the current working path directory in Linux by issuing the cd command, followed by the directory you want to change to. For example:cd /dev/inputwould take me to the that directory.


How do we add our new phone number to the directory?

It is possible to add a new phone number to an office's phone number directory with a current phone number. It would just be another number on the directory and the current one would not change.


What command can you use to change the current working directory to the directory where the modules for the running kernel are stored?

cd /lib/modules/$(uname -r)


What do you mean by sub directory and current directory?

Current directory/Sub-directory **************************************** The current directory is simply the directory a user is currently in - for instance: when in the Home directory, or the Music directory, and so on. A sub directory is another directory inside a main directory - for instance: in the Music Directory - Jazz, Elkie Brooks, Classical, are examples of three sub directories.


What does the command CD do?

CD stands for "change directory". For instance, if you are in the directory of c:\files\ and you want to navigate to a folder within the "files" directory called "documents", you can type "cd documents" to change the directory you are in. Once you've done that you will be at c:\files\documents\. Inversely you can use "cd.." to go back to the parent directory "files".


How will you CD to the parent directory of current directory in Linux?

Use the following command: cd .. The ".." indicates the parent of the current directory


The directory shown by pwd can be referred to as the current working dirctory?

pwd - means print working directory, which is always the current directory.


Can .php files be executed when saved in other location than its web's root directory?

They can execute if you use include or require and show the full path of external php file in the www folder based php file.


Why did the definition of php change?

PHP stands for hypertext preprocessor. It is the code embedded within the HTML of a web page. A php change is when this language is changed.