B / Y / U / S
HOME À¥ È£½ºÆà µµ¸ÞÀÎ ¸Å´º¾ó °í°´Áö¿ø ¼³Á¤Á¤º¸ °èÁ¤½Åû 2024-12-30 Monday 
À¥ È£½ºÆÃ
# °øÁö »çÇ×
# ÀÚÁÖ ¹¯´Â Áú¹®
# Áú¹®°ú ´äº¯
# °¡ÀÔ ¹®ÀÇ
Ä¿¹Â´ÏƼ
# ÀÚÀ¯°Ô½ÃÆÇ
# ¸®´ª½ºÆÁ
# ¾ÆÀÌÅ¥ Å×½ºÆ®
# ³»È¨ ¼Ò°³
# °Ö·¯¸®
# ÀÚ·á½Ç

  ¸®´ª½ºÆÁ  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 
¸¦ ºÒ·¯¿À½Ã¸é º¯°æÀÌ ¿Ï·á°¡ µË´Ï´Ù.
Regist Addr [ 210.219.138.57 ] ¸ñ·Ïº¸±â À­±Û ¾Æ·§±Û
Á¤±ÔÇ¥Çö½Ä [ »ó¼¼ °Ë»ö ]
Page Loading [ 0.02 Sec ] SQL Time [ 0 Sec ]

Copyleft 1999-2024 by JSBoard Open Project
Theme Designed by IDOO And follow GPL2

°³ÀÎÁ¤º¸ Ãë±Þ¹æħ ÀÌ¿ë ¾à°ü »çÀÌÆ® ¸Ê ¾îµå¹Î °ü¸®