#40163 [Fbk-Opn]: UNC Path not working

2007-01-19 Thread coyle at washpenn dot com
 ID:   40163
 User updated by:  coyle at washpenn dot com
 Reported By:  coyle at washpenn dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Directory function related
 Operating System: Windows 2003
 PHP Version:  5.2.0
 New Comment:

Better Example:

$path = 'server\\share\\directory\\';

mkdir($path, 0770);

Warning: mkdir() [function.mkdir]: Invalid argument in file on line
line


Previous Comments:


[2007-01-19 08:08:04] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to Open.

Thank you for your interest in PHP.






[2007-01-19 01:00:36] coyle at washpenn dot com

Description:

Using UNC path to save out a file in PHP 5.1.6 and everything works
great.  Upgraded to PHP 5.2.0 today and the UNC will not work anymore.

Reproduce code:
---
$path = 'server\\share\\directory\\'

if(is_dir($path)) {
   print 'directory exists';
} else {
   print 'directory does not exists';
}

Expected result:

directory exists

Actual result:
--
directory does not exists





-- 
Edit this bug report at http://bugs.php.net/?id=40163edit=1


#40163 [Fbk-Opn]: UNC Path not working

2007-01-19 Thread coyle at washpenn dot com
 ID:   40163
 User updated by:  coyle at washpenn dot com
 Reported By:  coyle at washpenn dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Directory function related
 Operating System: Windows 2003
 PHP Version:  5.2.0
 New Comment:

$path = server\\share\\directory;
or
$path = '\\server\share\directory';

Doesn't matter which I try ... I've tried many different combinations
to produce the path in both 5.2.0 or 5.2.1 RC4-dev and none of them
work.  Everything was fine in php = 5.1.6


Previous Comments:


[2007-01-19 14:09:15] [EMAIL PROTECTED]

Double slashes are needed only with double quotes, because  \x means
an escape character.



[2007-01-19 13:05:37] coyle at washpenn dot com

Better Example:

$path = 'server\\share\\directory\\';

mkdir($path, 0770);

Warning: mkdir() [function.mkdir]: Invalid argument in file on line
line



[2007-01-19 08:08:04] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to Open.

Thank you for your interest in PHP.






[2007-01-19 01:00:36] coyle at washpenn dot com

Description:

Using UNC path to save out a file in PHP 5.1.6 and everything works
great.  Upgraded to PHP 5.2.0 today and the UNC will not work anymore.

Reproduce code:
---
$path = 'server\\share\\directory\\'

if(is_dir($path)) {
   print 'directory exists';
} else {
   print 'directory does not exists';
}

Expected result:

directory exists

Actual result:
--
directory does not exists





-- 
Edit this bug report at http://bugs.php.net/?id=40163edit=1


#40163 [Opn]: UNC Path not working

2007-01-19 Thread coyle at washpenn dot com
 ID:   40163
 User updated by:  coyle at washpenn dot com
 Reported By:  coyle at washpenn dot com
 Status:   Open
 Bug Type: Directory function related
 Operating System: Windows 2003
 PHP Version:  5.2.0
 New Comment:

Above:
$path = '\\server\share\directory'; 
Should be:
$path = 'server\share\directory';

I am running out of things to try here.  When I print $path, I get a
valid UNC path with no spaces anywhere but I still get the error above.


Previous Comments:


[2007-01-19 14:27:23] coyle at washpenn dot com

$path = server\\share\\directory;
or
$path = '\\server\share\directory';

Doesn't matter which I try ... I've tried many different combinations
to produce the path in both 5.2.0 or 5.2.1 RC4-dev and none of them
work.  Everything was fine in php = 5.1.6



[2007-01-19 14:09:15] [EMAIL PROTECTED]

Double slashes are needed only with double quotes, because  \x means
an escape character.



[2007-01-19 13:05:37] coyle at washpenn dot com

Better Example:

$path = 'server\\share\\directory\\';

mkdir($path, 0770);

Warning: mkdir() [function.mkdir]: Invalid argument in file on line
line



[2007-01-19 08:08:04] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to Open.

Thank you for your interest in PHP.






[2007-01-19 01:00:36] coyle at washpenn dot com

Description:

Using UNC path to save out a file in PHP 5.1.6 and everything works
great.  Upgraded to PHP 5.2.0 today and the UNC will not work anymore.

Reproduce code:
---
$path = 'server\\share\\directory\\'

if(is_dir($path)) {
   print 'directory exists';
} else {
   print 'directory does not exists';
}

Expected result:

directory exists

Actual result:
--
directory does not exists





-- 
Edit this bug report at http://bugs.php.net/?id=40163edit=1


#40163 [NEW]: UNC Path not working

2007-01-18 Thread coyle at washpenn dot com
From: coyle at washpenn dot com
Operating system: Windows 2003
PHP version:  5.2.0
PHP Bug Type: Directory function related
Bug description:  UNC Path not working

Description:

Using UNC path to save out a file in PHP 5.1.6 and everything works great.
 Upgraded to PHP 5.2.0 today and the UNC will not work anymore.

Reproduce code:
---
$path = 'server\\share\\directory\\'

if(is_dir($path)) {
   print 'directory exists';
} else {
   print 'directory does not exists';
}

Expected result:

directory exists

Actual result:
--
directory does not exists

-- 
Edit bug report at http://bugs.php.net/?id=40163edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=40163r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=40163r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=40163r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40163r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=40163r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=40163r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=40163r=needscript
Try newer version:http://bugs.php.net/fix.php?id=40163r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=40163r=support
Expected behavior:http://bugs.php.net/fix.php?id=40163r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=40163r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=40163r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40163r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40163r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40163r=dst
IIS Stability:http://bugs.php.net/fix.php?id=40163r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=40163r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40163r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=40163r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=40163r=mysqlcfg