简体   繁体   中英

How to append files in different directories PHP

I have a file on my desktop I want to append. How would I go about doing this?

Typing ../../../../../../../ doesn't work, so how would I do this?

Use the absolute path to those directories, such as:

C:\Users\Mike\Documents\code

or

/home/mike/Desktop/code/dir1

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM