![]() |
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 |
the following php functions may help..
getcwd() $opendir = @opendir($dir); while (false !== ($file = readdir($opendir))) { echo "$file\n"; } closedir($opendir); |
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 ;) |
All times are GMT. The time now is 04:15 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|