Re: internal operation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



www.php.net/streams

On 5/10/06, Richard Lynch <ceo@xxxxxxxxx> wrote:

On Wed, May 10, 2006 4:11 am, Luke Cole wrote:
> Do the file system and directory functions, perform the file system
> command relative to your OS.
>
> e.g.
> does the internal code of the function:
> rename("oldname", "newname");
>
> do exactly (in unix file systems):
> `mv oldname newname`
>
> do exactly (in windows file systems):
> `ren oldname newname`

I believe there are C libraries from, say, <stdlib> that they are
using, which, under the hood, are what the shells use.

So, in reality, it's more like:

PHP ----------\
               +-------- C library to rename file
DOS/Shell-----/

> If not, how does it do it?

I could be wrong.  Maybe it's just magic. :-)

> Also, if one disables users from using ``,
> are all file system and directory functions disabled to?

I don't think so.

--
Like Music?
http://l-i-e.com/artists.htm

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux