Giken Dev
๋ฐฑ์—”๋“œ IT ๊ธฐ์ˆ  ๋ธ”๋กœ๊ทธ ์ถ”์ฒœ (๋‚˜๋งŒ์˜)

https://inpa.tistory.com/ ๐Ÿ‘จ‍๐Ÿ’ป Dev Scroll์•ˆ๋…•ํ•˜์„ธ์š”. ์ €๋Š” ๋ฐฑ์•ค๋“œ ๊ฐœ๋ฐœ์ž ์ง€๋ง์ƒ์œผ๋กœ์„œ, ์›น ๊ฐœ๋ฐœ ๊ธฐ์ˆ ๋ธ”๋กœ๊ทธ๋ฅผ ์šด์˜ํ•˜๊ณ  ์žˆ์–ด์š”. ์ž˜ ๋ถ€ํƒ๋“œ๋ ค์š”~inpa.tistory.com CS ๊ณต๋ถ€๋ฅผ ํ•˜๋‹ค๊ฐ€ ๊ตฌ๊ฒฝํ–ˆ๋Š”๋ฐ  ui๊ฐ€ ์šฐ์„  ์‹ ๋ฐ•ํ–ˆ๋‹ค..CS / ์Šคํ”„๋ง /  ๋ฐ๋ธŒ์˜ต์Šค ๋ฅผ ๋ณด๋Ÿฌ ์ž์ฃผ ๋“ค๋ฅผ ๊ฒƒ ๊ฐ™๋‹ค. https://kth990303.tistory.com/ kth990303์˜ ์ฝ”๋”ฉ ๋ธ”๋กœ๊ทธKonkuk CSE 19. woowabros. woowacourse 4th ์ผ€์ด. https://github.com/kth990303 ๊ฐœ๋ฐœ/PS/์ผ๊ธฐ ๊ธฐ๋ก ๋ธ”๋กœ๊ทธkth990303.tistory.comPS / ์Šคํ”„๋ง / ์ธํ”„๋ผ ๋“ฑ๋ฐฑ์—”๋“œ ์ง€์‹์„ ๊ณต๋ถ€ํ•˜๋Š”๋ฐ ์ข‹์•˜์Šต๋‹ˆ๋‹ค !

article thumbnail
[PHP][์ƒํ™œ์ฝ”๋”ฉ] ์ž…์ถœ๋ ฅ ๊ธœ๊ณ  ํผ๊ณผ HTTP / ์กฐ๊ฑด๋ฌธ / ๋ฐ˜๋ณต๋ฌธ / ํ•จ์ˆ˜ / ๋ฐฐ์—ด
์„œ๋ฒ„/PHP 2022. 7. 25. 04:19

์ž…์ถœ๋ ฅ ๊ทธ๋ฆฌ๊ณ  ํผ๊ณผ HTTP ์ด๋ฒˆ ์‹œ๊ฐ„์—๋Š” PHP ์—ํ”Œ๋ฆฌ์ผ€์ด์…˜์— ๋ฐ์ดํ„ฐ๋ฅผ ์ž…๋ ฅํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ณธ๋‹ค. ๊ทธ๋ฆฌ๊ณ  ํผ์„ ์ด์šฉํ•ด์„œ ์‚ฌ์šฉ์ž๋กœ๋ถ€ํ„ฐ ๋ฐ์ดํ„ฐ๋ฅผ ์ „์†ก ๋ฐ›๋Š” ๋ฐฉ๋ฒ•๋„ ์•Œ์•„ ๋ณผ ๊ฒƒ์ด๋‹ค. ์ด๋ฅผ ํ†ตํ•ด์„œ ํ•  ์ˆ˜ ์žˆ๋Š” ์ผ์€ ํ›„์† ์ˆ˜์—…์ธ ์กฐ๊ฑด๋ฌธ ํŽธ์—์„œ ์•Œ์•„๋ณธ๋‹ค. ์—ํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ ์ž…๋ ฅ๊ฐ’๊ณผ ํผ ํ”„๋กœ๊ทธ๋žจ์€ ์ž…๋ ฅ ๊ฐ’์„ ๊ฐ€์งˆ ์ˆ˜ ์žˆ๋‹ค. ๊ทธ๋ฆฌ๊ณ  ์ž…๋ ฅ ๊ฐ’์— ๋”ฐ๋ผ์„œ ๋™์ž‘ ๋ฐฉ๋ฒ•์ด ๋‹ฌ๋ผ์ง€๊ฑฐ๋‚˜ ์ž…๋ ฅ๋œ ๊ฐ’์„ ์ €์žฅ/์‚ญ์ œ/์ถœ๋ ฅ ํ•  ์ˆ˜ ์žˆ๋‹ค. ์ด๋ฒˆ ์‹œ๊ฐ„์—๋Š” PHP์˜ ๋ฌธ๋ฒ•์— ๋Œ€ํ•œ ๋‚ด์šฉ์—์„œ ์ž ๊น ๋น ์ ธ๋‚˜์™€์„œ PHP ์—ํ”Œ๋ฆฌ์ผ€์ด์…˜์ด ๋ฐ์ดํ„ฐ๋ฅผ ์ž…๋ ฅ ๋ฐ›๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด์„œ ์•Œ์•„๋ณธ๋‹ค. ์šฐ์„  ์ฝ”๋“œ๋ฅผ ๋ณด์ž. 1 2 3 ์œ„์˜ ์ฝ”๋“œ๋ฅผ ๋ธŒ๋ผ์šฐ์ €๋กœ ์—ด์–ด๋ณด์ž. ์ด ๋•Œ ํŒŒ์ผ๋ช… ๋’ค์— ?id=k8805์ด๋ผ๊ณ  ์ž…๋ ฅํ•œ๋‹ค. ์˜ˆ๋ฅผ๋“ค๋ฉด ์•„๋ž˜์™€ ๊ฐ™๋‹ค. ๊ฒฐ๊ณผ๋Š” k8805๋‹ค. URL์˜ k8805๋ฅผ..

article thumbnail
[PHP][์ƒํ™œ์ฝ”๋”ฉ] ์„œ๋ฒ„์ธก ์–ธ์–ด๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ์ด์œ  / ์ˆซ์ž์™€ ๋ฌธ์ž / ๋ณ€์ˆ˜ / ๋น„๊ต
์„œ๋ฒ„/PHP 2022. 7. 25. 04:16

์„œ๋ฒ„์ธก ์–ธ์–ด๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ์ด์œ  ์ˆซ์ž์™€ ๋ฌธ์ž ์˜ˆ์ œ /number_string/number.php https://github.com/egoing/phpeverybody/blob/master/number_string/number.php 1 2 3 /number_string/string.php https://github.com/egoing/phpeverybody/blob/master/number_string/string.php 1 2 3 ๋ณ€์ˆ˜ ๋ณ€์ˆ˜(่ฎŠๆ•ธ, Variable)๋Š” ๋ฌธ์ž๋‚˜ ์ˆซ์ž ๊ฐ™์€ ๊ฐ’์„ ๋‹ด๋Š” ์ปจํ…Œ์ด๋„ˆ๋‹ค. ์—ฌ๊ธฐ์— ๋‹ด๊ฒจ์ง„ ๊ฐ’์€ ๋‹ค๋ฅธ ๊ฐ’์œผ๋กœ ๋ฐ”๊ฟ€ ์ˆ˜ ์žˆ๋‹ค. ๋ณ€์ˆ˜๋Š” ๋งˆ์น˜ (์‚ฌ๋žŒ์ด ์“ฐ๋Š” ์–ธ์–ด์ธ) ์ž์—ฐ์–ด์—์„œ ๋Œ€๋ช…์‚ฌ์™€ ๋น„์Šทํ•œ ์—ญํ• ์„ ํ•œ๋‹ค. ๋ณ€์ˆ˜์˜ ์„ ์–ธ ๋‹ค์Œ ์˜ˆ์ œ๋Š” ๋ณ€์ˆ˜์— ๊ฐ’์„ ๋Œ€์ž…ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ๋ณด์—ฌ์ฃผ๋Š” ์˜ˆ์ œ๋‹ค. /v..

article thumbnail
article thumbnail
[SQL][ํ”„๋กœ๊ทธ๋ž˜๋จธ์Šค ๊ณ ๋“์ KIT] GROUP BY

1. ๊ณ ์–‘์ด์™€ ๊ฐœ๋Š” ๋ช‡ ๋งˆ๋ฆฌ ์žˆ์„๊นŒ SELECT ANIMAL_TYPE, COUNT(*) count FROM ANIMAL_INS GROUP BY ANIMAL_TYPE ORDER BY ANIMAL_TYPE; ๋™๋ฌผ์˜ TYPE ๋ณ„๋กœ ๊ทธ๋ฃนํ•‘ํ•˜๊ณ , ์˜ค๋ฆ„์ฐจ์ˆœ ์ •๋ ฌ์„ ํ•ด์ค˜์„œ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค. ๋˜ํ•œ COUNT(*)๋กœ ๊ฐ ๊ทธ๋ฃน์— ์†ํ•˜๋Š” ํŠœํ”Œ์˜ ๊ฐฏ์ˆ˜๋„ ๊ฐ™์ด ์ถœ๋ ฅํ•ฉ๋‹ˆ๋‹ค. 2. ๋™๋ช… ๋™๋ฌผ ์ˆ˜ ์ฐพ๊ธฐ SELECT NAME, COUNT(*) COUNT FROM ANIMAL_INS WHERE NAME IS NOT NULL GROUP BY NAME HAVING COUNT > 1 ORDER BY NAME; GROUP์˜ ๋’ค์— HAVNIG ์ ˆ์„ ๋‹ฌ์•„์คŒ์œผ๋กœ์จ COUNT > 1 ์— ๋Œ€ํ•ญํ•˜๋Š” GROUP๋งŒ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค. 3. ์ž…์–‘ ์‹œ๊ฐ ๊ตฌํ•˜๊ธฐ(1) SEL..

article thumbnail
[PHP][์ƒํ™œ์ฝ”๋”ฉ] Window ์—์„œ PHP ์„ค์ • (Bitnami)
์„œ๋ฒ„/PHP 2022. 7. 21. 22:11

https://opentutorials.org/course/62/5110 ์„ค์ • - ์ƒํ™œ์ฝ”๋”ฉ ์„ค์ •์ด๋ž€ Configuration. PHP๊ฐ€ ๋™์ž‘ํ•˜๋Š” ๊ธฐ๋ณธ์ ์ธ ์ž‘๋™๋ฐฉ๋ฒ•์„ ๋ณ€๊ฒฝํ•˜๋Š” ๊ฒƒ์œผ๋กœ, php.ini ํŒŒ์ผ๋ฅผ ํ†ตํ•ด์„œ ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ ๋ฐ˜์˜ํ•  ์ˆ˜ ์žˆ๋‹ค. ์„ค์ •์„ ๋ณ€๊ฒฝ ํ•œ ํ›„์—๋Š” ์›น์„œ๋ฒ„๋ฅผ ๋ฆฌ๋กœ๋“œ(reload) ํ˜น์€ ์žฌ์‹œ์ž‘(restart) opentutorials.org ์„ค์ •์ด๋ž€ Configuration. PHP๊ฐ€ ๋™์ž‘ํ•˜๋Š” ๊ธฐ๋ณธ์ ์ธ ์ž‘๋™๋ฐฉ๋ฒ•์„ ๋ณ€๊ฒฝํ•˜๋Š” ๊ฒƒ์œผ๋กœ, php.ini ํŒŒ์ผ๋ฅผ ํ†ตํ•ด์„œ ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ ๋ฐ˜์˜ํ•  ์ˆ˜ ์žˆ๋‹ค. ์„ค์ •์„ ๋ณ€๊ฒฝ ํ•œ ํ›„์—๋Š” ์›น์„œ๋ฒ„๋ฅผ ๋ฆฌ๋กœ๋“œ(reload) ํ˜น์€ ์žฌ์‹œ์ž‘(restart) ํ•ด์•ผ ํ•œ๋‹ค. ์—๋Ÿฌ์„ค์ • ์—๋Ÿฌ๋Š” ๊ฐœ๋ฐœ์ด๋‚˜ ์˜ค๋ฅ˜๋ฅผ ํŒŒ์•…ํ•˜๋Š”๋ฐ ์ค‘์š”ํ•œ ์ˆ˜๋‹จ์ด์ง€๋งŒ, ์—๋Ÿฌ๊ฐ€ ์‹ค์„œ๋ฒ„ ํ™˜๊ฒฝ์—์„œ ๊ทธ๋Œ€๋กœ ๋…ธ์ถœ๋˜๋Š” ๊ฒƒ์€ ๋ฐ”๋žŒ..

article thumbnail
[PHP][์ƒํ™œ์ฝ”๋”ฉ] ์œˆ๋„์šฐ์— PHP ์„ค์น˜ํ•˜๊ธฐ
์„œ๋ฒ„/PHP 2022. 7. 21. 21:51

https://opentutorials.org/course/62/5103 ์œˆ๋„์šฐ์— PHP ์„ค์น˜ํ•˜๊ธฐ - ์ƒํ™œ์ฝ”๋”ฉ ์ˆ˜์—…์†Œ๊ฐœ ์ด๋ฒˆ ์‹œ๊ฐ„์€ Bitnami๋ฅผ ์ด์šฉํ•ด์„œ Apache, PHP, MySQL์„ ์„ค์น˜ํ•˜๋Š” ๊ฒƒ์ด ๋ชฉํ‘œ๋‹ค. ์ผ๋ฐ˜์ ์œผ๋กœ ์œˆ๋„์šฐ์— PHP๋ฅผ ์„ค์น˜ํ•˜๋Š” ๊ฒƒ์€ ์‹ค์ œ ์„œ๋น„์Šค๋ฅผ ์œ„ํ•œ ๊ฒƒ ๋ณด๋‹ค ๊ฐœ๋ฐœํ™˜๊ฒฝ์ด๋‚˜ ์‹ค์Šต์„ ์œ„ํ•œ ๋ชฉ์ ์ผ ๊ฒƒ์ด๋‹ค opentutorials.org ์ˆ˜์—…์†Œ๊ฐœ ์ด๋ฒˆ ์‹œ๊ฐ„์€ Bitnami๋ฅผ ์ด์šฉํ•ด์„œ Apache, PHP, MySQL์„ ์„ค์น˜ํ•˜๋Š” ๊ฒƒ์ด ๋ชฉํ‘œ๋‹ค. ์ผ๋ฐ˜์ ์œผ๋กœ ์œˆ๋„์šฐ์— PHP๋ฅผ ์„ค์น˜ํ•˜๋Š” ๊ฒƒ์€ ์‹ค์ œ ์„œ๋น„์Šค๋ฅผ ์œ„ํ•œ ๊ฒƒ ๋ณด๋‹ค ๊ฐœ๋ฐœํ™˜๊ฒฝ์ด๋‚˜ ์‹ค์Šต์„ ์œ„ํ•œ ๋ชฉ์ ์ผ ๊ฒƒ์ด๋‹ค. ์‹ค์ œ๋กœ PHP๋กœ ๋™์ž‘ํ•˜๋Š” ์›น์—ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ์„œ๋น„์Šค ํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” ์™ธ๋ถ€์—์„œ PHP๊ฐ€ ์„ค์น˜๋œ ์ปดํ“จํ„ฐ์— ์ธํ„ฐ๋„ท์„ ํ†ตํ•ด์„œ ์ ‘์†์ด ๊ฐ€๋Šฅํ•˜๋„๋ก ํ™˜๊ฒฝ..

article thumbnail
[SQL][ํ”„๋กœ๊ทธ๋ž˜๋จธ์Šค ๊ณ ๋“์ KIT] SUM, MAX, MIN

์ตœ๋Œ“๊ฐ’ ๊ตฌํ•˜๊ธฐ SELECT MAX(DATETIME) FROM ANIMAL_INS ๊ฐ€์žฅ ๋†’์€ DATETIME์˜ ๊ฐ’์„ ๊ฐ€์ง„ ํŠœํ”Œ์„ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค. ์•„๋งˆ๋„ ๊ฐ€์žฅ ๋†’์€ DATETIME์„ ๊ฐ€์ง„ ํŠœํ”Œ์ด 2๊ฐœ ์ด์ƒ์ด๋ผ๋ฉด ๊ทธ ๋ชจ๋“  ํŠœํ”Œ์„ ๋ฐ˜ํ™˜ํ•˜๊ฒ ์ฃ ? ์ตœ์†Ÿ๊ฐ’ ๊ตฌํ•˜๊ธฐ SELECT MIN(DATETIME) FROM ANIMAL_INS ๋™๋ฌผ ์ˆ˜ ๊ตฌํ•˜๊ธฐ SELECT COUNT(ANIMAL_ID) count FROM ANIMAL_INS ๋ชจ๋“  ํŠœ๋ธ”์˜ ์ˆ˜๋ฅผ(๋™๋ฌผ์˜ ์ˆ˜) ์กฐํšŒํ•˜๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค. ์ฃผ์˜ํ•ด์•ผํ•  ์ ์€ ANIMAL_ID์—๋Š” NULL ๊ฐ’์ด ๋“ค์–ด์˜ฌ ์ˆ˜ ์—†๋„๋ก ์ •ํ•ด์ ธ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ๊ฐ€๋Šฅํ–ˆ์Šต๋‹ˆ๋‹ค. ๋งŒ์•ฝ์— ANIMAL_ID์˜ NULLABLE์ด NAME ์ฒ˜๋Ÿผ TRUE ์˜€๊ณ , ANIMAL_ID ์— NULL์ด ๋“ค์–ด์žˆ๋Š” ๋™๋ฌผ์ด ๋‘ ๋งˆ๋ฆฌ ์˜€์„ ๊ฒฝ์šฐ์—๋Š”, ..