Re: Is this PHP or server?

From: J.O. Aho (user_at_example.net)
Date: 10/13/04


Date: Wed, 13 Oct 2004 17:11:17 +0200

ScareCrowe wrote:
> So would this mean that when a call is made for Windows to list the contents
> of given folder, it retrieves the files by the date modified by default? I
> mean whatever script is generating the list within Windows, not PHP. Wait,
> now that I think about it, there were times folders were deleted and
> replaced on the old server, but these changes never came to the php script
> in any order other than by folder name, lowest to highest. (Did that make
> sense?) I just assumed this sorting order was by default?

This has to do with the filesystem, even if you change the dates, the
files/directories keeps their place on the harddrive, the filesystem provides
a list of files/directories in the order they are in the filesystem, while
functions like ls/dir does sort the result usually in an alphabetical order.

When creating files, you will usually get the newest file last on the
filesystem, but when you delete files, you will get empty space inbetween,
when creating a new file now, the empty space will be used up instead of
placed last, which makes that the order isn't anymore alphabetical.

  //Aho



Relevant Pages

  • Re: Install application non-Windows Folder
    ... the files you want (for example, if you mounted a flash-based filesystem to ... and you are a Windows Mobile OEM, you have a technical contact at Microsoft; ... I need ROM filesystem built into nk.bin to appear somewhere other than ... windows folder using Disk Image? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: mounting question (mount my home dir)
    ... and it is also possible to mount something twice. ... In order to mount the directory from your Windows installation - which I ... bind-mount a directory from that filesystem onto another directory. ... A folder is a GUI construct only, ...
    (alt.os.linux)
  • Re: how do I create a folder on my desktop to store saved documents
    ... Assuming you are using Windows XP - right click on an empty space and ... You'll see the new folder on your desktop, ... appropriate operating system you are using. ...
    (microsoft.public.project)
  • Re: encrypted windows 2000 folder problem.
    ... > I have an encrypted folder in windows 2000 filesystem. ...
    (microsoft.public.win2000.security)
  • Re: recover compacted folders
    ... Because of this tendency of attachments to infect, ... , then wasted space is generated in that file, and the folder must be ... Windows 2000 and Windows XP. ... Windows XP Service Pack 2 Resources for IT Professionals ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)