note 4316 deleted from chmod by ronabop

From: Date: Sat, 12 Aug 2000 23:34:12 +0000
Subject: note 4316 deleted from chmod by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-1766@lists.php.net to get a copy of this message
How do I force the second parameter to be octal? Assume: <pre> $file = "/home/user/file"; $mode = "0664"; chmod( $file, $mode ); </pre> This won't change $file to $mode. What about the type juggling here? $mode might be the result of a text input field of a form.

« previous php.notes (#1766) next »