The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Display FULL path of a Remote file..
Hello,
I am working on a little harddrive script, but i have one problem, when i try to comp files, i need to have their full path (C:/windows/system32/*.dll) What i am trying to do is get the entire contents of system32 + any of the subfolders... like C:/windows/system32/DirectX/*.dll (Reminder: I am using these paths as an example, im not really editing the task manager :P) This is what i have so far: PHP Code:
Quote:
EDIT: I dont mind using one or more commands to do it, im adventually going to make it into a really simple function |
#2
|
||||
|
||||
the following php functions may help..
getcwd() $opendir = @opendir($dir); while (false !== ($file = readdir($opendir))) { echo "$file\n"; } closedir($opendir); |
#3
|
|||
|
|||
Isent that exactly what i have? and the php file, is not in the directory that im reading
... Well, its like going into the command prompt, and typing 'tree [directory]' it lists all files and directors in that folder... thats what i want, except to add the full path of every file to an array |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|