Created
May 21, 2010 19:53
-
-
Save c00kiemon5ter/409334 to your computer and use it in GitHub Desktop.
myloader: change the owner/group dont set 777 permisions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file: README.mrdn | |
- 2) chmod 777 myloader and chmod 777 myloader/uploads to make both directories writeable by apache | |
+ 2.1) chown apache:apache myloader; chmod 755 myloader; | |
+ 2.2) chown apache:apache myloader/uploads; chmod 755 myloader/uploads; | |
-------------------------------------------------------------------------------- | |
file: index.php | |
== 123c123 | |
- echo "The file <b>".basename( $_FILES['uploadedfile']['name'])."</b> has been uploaded<br/>"; | |
+ echo "<br/>The file <b>".basename( $_FILES['uploadedfile']['name'])."</b> has been uploaded<br/>"; | |
== 136c136,137 | |
- echo '<a href="index.php">Upload a new file!</a>'; | |
+ #echo '<a href="index.php">Upload a new file!</a>'; | |
+ echo "<a href=\"index.php\">Return to MyLoader!</a><br><br>"; | |
== 152c153 | |
- echo " <input type=\"button\" value=\"R\" name=\"submit\" onclick=\"window.location.href='random.php';return false\" />"; | |
+ echo " <input type=\"button\" value=\"/b/\" name=\"submit\" onclick=\"window.location.href='random.php';return false\" />"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment