|
|
|
¸®´ª½ºÆÁ Go Unix Power Tools Online Book
Go Bash Guide
|
|
Read No. 163 article |
2003-01-01 15:40:58 |
|
|
|
|
NickName |
Ç®ºñ´© |
Subject |
[PHP] ƯÁ¤Æú´õÀÇ ÆÛ¹Ì¼Ç º¯°æ |
|
|
ƯÁ¤Æú´õ°¡ À¥¼¹öÀÇ ±ÇÇÑÀ¸·Î »ý¼ºµÇ¾î °èÁ¤ ¹é¾÷½Ã Á¢±ÙÀÌ ¾ÈµÇ´Â
Çö»óÀÌ ¹ß»ýÇÏ´Â °æ¿ì°¡ ÀÖ½À´Ï´Ù.
±×·¯ÇÑ °æ¿ì ´ÙÀ½ÀÇ ³»¿ëÀ¸·Î php ÆÄÀÏÀ» ¸¸µå½Å ´ÙÀ½,
ftp ·Î ¾÷·Îµå ÇϽÅÈÄ ÇØ´ç ÆÄÀÏÀ» À¥À¸·Î ºÒ·¯¿À¸é Æú´õ Æ۹̼ÇÀ»
º¯°æÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.
<? @chmod("./ÇØ´çµð·ºÅ丮¸í",0777); ?>
¿¹1) Á¦·Îº¸µåÀÇ data Æú´õÀÇ Æ۹̼ÇÀ» 777·Î º¯°æÇÏ½Ã°í ½ÍÀ»¶§..
chmod.php ÆÄÀÏ
------------------------------------------
<? @chmod("./data",0777); ?>
------------------------------------------
¿¹2) Á¦·Îº¸µå data Æú´õ¿Í ÇϺΠÀÚ·á ¸ðµÎ Æ۹̼ÇÀ» 777·Î º¯°æÇÏ¼Ò ½ÍÀ»¶§...
chmod.php ÆÄÀÏ
------------------------------------------
<? exec("chmod -R 777 ./data"); ?>
------------------------------------------
À§ÀÇ ³»¿ëÀ¸·Î chmod.php ÆÄÀÏÀ» ¸¸µì´Ï´Ù.
±×·±´ÙÀ½ Á¦·Îº¸µå Æú´õ ¾È¿¡ ftp ·Î Á¢±ÙÇÏ¿© ¾÷·Îµå ÇϽÅÈÄ
À¥¿¡¼ http://yourdomain/Á¦·Îº¸µåÆú´õ/chmod.php
¸¦ ºÒ·¯¿À½Ã¸é º¯°æÀÌ ¿Ï·á°¡ µË´Ï´Ù.
|
|
Page Loading [ 0.02 Sec ]
SQL Time [ 0 Sec ]
|
|
|