ID:               29731
 Updated by:       [EMAIL PROTECTED]
 Reported By:      webmaster at acecoolco dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         PHP options/info functions
 Operating System: Windows
 PHP Version:      5.0.0
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Read about using *chmod here: http://php.net/chmod
Short version: "0777" != 0777.


Previous Comments:
------------------------------------------------------------------------

[2004-08-18 13:34:42] webmaster at acecoolco dot com

Description:
------------
If you do ftp_chmod($conn_id, 0777, "/blah/public_html/");
it works, if you set $blah = "0777"; and use ftp_chmod($conn_id, $blah,
"/blah/public_html/"); or
ftp_chmod($conn_id, "$blah", "/blah/public_html/"); then if will end up
chmodding 1417 or something...

Reproduce code:
---------------
If you do ftp_chmod($conn_id, 0777, "/blah/public_html/");
it works, if you set $blah = "0777"; and use ftp_chmod($conn_id, $blah,
"/blah/public_html/"); or
ftp_chmod($conn_id, "$blah", "/blah/public_html/"); then if will end up
chmodding 1417 or something...

Expected result:
----------------
chmod as should be...

Actual result:
--------------
chmods 1417 or so...


------------------------------------------------------------------------


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

Reply via email to