[PHP] internal operation
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` If not, how does it do it? Also, if one disables users from using ``, are all file system and directory functions disabled to? Regards, Luke Cole -- http://rsise.anu.edu.au/~cole | http://lc.homedns.org/~cole Research Assistant Robotics Systems Lab, Systems Engineering RSISE/NICTA, Building 115 ANU -- This email and any attachments are confidential. They may contain legally privileged information or copyright material. You should not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. This notice should not be removed. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] internal operation
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
Re: [PHP] internal operation
www.php.net/streams On 5/10/06, Richard Lynch [EMAIL PROTECTED] 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