search for in the  
<Memory ManagementString Handling>
Last updated: Thu, 19 May 2005

Directory and File Functions

The following directory and file functions should be used in Zend modules. They behave exactly like their C counterparts, but provide virtual working directory support on the thread level.

Zend FunctionRegular C Function
V_GETCWD()getcwd()
V_FOPEN()fopen()
V_OPEN()open()
V_CHDIR()chdir()
V_GETWD()getwd()
V_CHDIR_FILE() Takes a file path as an argument and changes the current working directory to that file's directory.
V_STAT()stat()
V_LSTAT()lstat()



User Contributed Notes
Directory and File Functions
d3_realm at hotmail dot com
16-Jul-2003 03:36
When running: Linux / Apache, my[1.3.27]
While using file commands mkdir, rmdir, chmod, ... etc has the user ID of Apache NOT of the perl script. This will cause some confusion when using mkdir then file command.

You will get this error even thought the script is self made the DIR whether or not the directory has 0777 for permissions.

Warning: SAFE MODE Restriction in effect. The script whose uid is 1000 is not allowed to access /usr/local/psa/home/httpsdocs owned by uid 2255 in /usr/local/psa/home/httpsdocs/php/test.php on line 17

Bug or Notice that’s left up to you.

<Memory ManagementString Handling>
 Last updated: Thu, 19 May 2005
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: The Server Pages
Last updated: Thu May 19 17:35:34 2005 CDT