Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to CHMOD folder writing permissions during installation???
15-12-2011, 12:01 AM
Post: #6
RE: How to CHMOD folder writing permissions during installation???
unfortunately i dont, chmod is a unix command and is not supported by xp and such.

you could give this a try...
make a new file called chmod.php in your root directory..
add this code to it, point your browser at it, and give it a try:

(file location for /tmp/ would be /tmp or tmp/) untested.
and remember to use 0777 not 777
Code:
<?php

if(isset($_POST['chmod']))
{

chmod ($_POST['chmod'], $_POST['number']);

}
else
{

?>

<form method=post action=<?php echo $_SERVER['PHP_SELF']; ?>>
<input name=chmod>File location<br>
<input name=number>Number<br>
<input type=submit value=submit>

</form>
<?php

}

?>


while i do doubt that script will work, its worth a try...

some other notes: "chmod does not exist in windows, use the file permissions, make sure apache on windows is running as a user that can access those files, you may have to change it via the administrator account"

Custom HTML/CSS/PHP
http://theorderofindividualacceptance.co...p.php?id=1
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to CHMOD folder writing permissions during installation??? - Punktured - 15-12-2011 12:01 AM

Forum Jump: