|
|
Ŭ¶ó¿ìµåű×
Javascript PHP ASP CSS HTML MYSQL jquery image Mobile API slide °Ô½ÃÆÇ ¸Þ´º
|
|
|
ÇöÀçÁ¢¼ÓÀÚ ¸í |
|
|
|
|
|
|
|
PHP iCalendar |
|
|
|
|
¼Ò½ººÐ·ù |
À¥ ´Þ·Â |
|
|
´Ù¿î·Îµå Ƚ¼ö |
0 ȸ |
|
|
|
°£´Ü¼³¸í |
IOS ¿¡¼ Áö¿øÇÏ´Â ´Þ·Â ³»º¸³»±â·Î Áö¿øÇÏ´Â ics ÆÄÀÏÀ» ÆĽÌÇÏ¿© Ķ¸°´õ·Î »ç¿ë°¡´ÉÇÑ ÇÁ·Î±×·¥ÀÔ´Ï´Ù. |
|
|
|
|
|
IOS ¿¡¼ ´Þ·Â ³»º¸±â·Î Áö¿øÇÏ´Â ics È®ÀåÀÚ ÆÄÀÏÀ» ÀÌ¿ëÇÏ´Â PHP´Þ·Â ÇÁ·Î±×·¥ÀÔ´Ï´Ù.
ÆÄÀÏÀ» ´Ù¿î·Îµå ¹ÞÀ¸½Ã°í
½ÇÇàÀ» Çغ¸¸é
À§¿Í °°ÀÌ °æ°í âÀÌ ¶å´Ï´Ù.
À̸¦ ÇØ°á Çϱâ À§Çؼ´Â
functions / ical_parser.php ÆÄÀÏÀ» ¿À¸½ÅÈÄ
107 ¹ø° ÁÙ¿¡ º¸½Ã¸é
$filename = tempnam(sys_get_temp_dir(), 'ICS');
if (copy($cal_httpPrefix, $filename) === FALSE) {
exit(error($lang['l_copy_error'], $cal_httpPrefix));
}
À§ÀÇ ¼Ò½º°¡ ÀÖ½À´Ï´Ù.
À̸¦ ¾Æ·¡ÀÇ ¼Ò½º·Î º¯°æÇÏ½Ã¸é ¿À·ù°¡ ÇØ°á µË´Ï´Ù.
$filename = tempnam(sys_get_temp_dir(), 'ICS');
$ch = curl_init($cal_httpPrefix);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($ch);
curl_close($ch);
$fp = fopen($filename, "w+");
fwrite($fp, $output);
fclose($fp);
±×·³ À§¿Í °°Àº ȸéÀ» º¸½Ç ¼ö ÀÖ½À´Ï´Ù.
óÀ½¿£ ¿µ¹®À¸·Î ¶å´Ï´Ù.
¼³Á¤¿¡ µé¾î°¡½Ã¸é Çѱ¹¾î·Î ¼ÂÆà °¡´ÉÇÕ´Ï´Ù.
Çѱ¹¾î·Î ¼³Á¤ÇϽøé Çѱ۷Π³ªÅ¸³³´Ï´Ù.
ics ÆÄÀÏÀº calendars Æú´õ³»¿¡ ¿Ã¸®½Ã¸é ÀÛµ¿ÇÕ´Ï´Ù.
|
|
³×ƼÁð ÀÇ°ß ÀÌ¿ëÇϽŠÀÚ·áÀÇ Èı⸦ ÀÚÀ¯·Ó°Ô ÀÛ¼ºÇϼ¼¿ä. (»ó¾÷ÀûÀÎ ±¤°í ¹× µµ¹è¼º ±Û µîÀº »çÀüÅ뺸¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.) |
|