Re: php4 php_virtual_cwd.c
| From: | Andi Gutmans | Date: | Mon, 20 Mar 2000 05:28:52 +0000 |
| Subject: | Re: php4 php_virtual_cwd.c | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-17061@lists.php.net to get a copy of this message | ||
Well that isn't the case unless you've found a bug. The drive letter isn't removed. Edit the main() with your sample and play with it a bit (it compiles as one binary). Let us know if you find a real problem.
Andi
At 09:18 PM 3/19/00 -0500, Shane Caraveo wrote:
I was taking a look at the code, and saw the section where the drive letter is being removed under win32. What is the specific reason for this? I can't think of any file io functions under windows that does not work with drive letters. Removing the drive letter prohibits php from accessing files on any drive other than what it is executed on, unless using UNC's. Shane--- Andi Gutmans <andi@zend.com> http://www.zend.com/