½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > °ñµåÆÁ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
javascript
PHP
ASP
css
HTML
mysql
jquery
image
API
Mobile
¸Þ´º
slide
°Ô½ÃÆÇ
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ °ñµåÆÁ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 689 | Á¶È¸¼ö 9,709 | µî·ÏÀÏ 2005-05-16 16:42:00

´Ð³×ÀÓ

HappyCGI

Á¦¸ñ

[perl] ÇöÀç ±¸µ¿µÇ´Â ÆÄÀÏ¸í ±¸Çϱâ
³»¿ë

ÇØÇÇCGI ÀÔ´Ï´Ù.

php°æ¿ì $PHPSELF·Î °£´ÜÈ÷ ÀÚ½ÅÀÌ ½ÇÇàµÇ´Â ÆÄÀÏÀ» ºÒ·¯¿ÀÁÒ?

perlÀÇ °æ¿ì ¾à°£Àº ÀܸӸ®¸¦ ±¼·Á¾ß ÇÕ´Ï´Ù. ^^

ȯ°æº¯¼ö¸¦ ÀÏ´Ü »ç¿ëÇÏÁÒ.


[ÇÁ·Î±×·¥ÄÚµå]

$ENV{'SCRIPT_NAME'}



À§ ó·³ È£ÃâÀ» ÇÏ°Ô µÇ¸é ÇöÀç ±¸µ¿µÇ´Â µµ¸ÞÀÎÀ» Á¦¿ÜÇÑ ºÎºÐÀÇ µð·ºÅ丮 ¹× ÆÄÀϸíÀÌ Ãâ·ÂµË´Ï´Ù.

¸¶Áö¸· ÆÄÀϸíÀ» ÃßÃâÇغ¼±î¿ä?


[ÇÁ·Î±×·¥ÄÚµå]
@get_file_name = split(/\//,$ENV{'SCRIPT_NAME'});  #¸ùâ  /·Î Àß¶ó¼­ ¹è¿­¿¡ ´ã½À´Ï´Ù.
print "$get_file_name[$#get_file_name]"; #¹è¿­ÀÇ ¸Ç³¡ ³à¼®À» Ãâ·ÂÇÕ´Ï´Ù



perl ÂüÀ¸·Î ¸Å·ÂÀÖ´Â ¾ð¾îÁÒ? ^^

Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û [mysql] ÇöÀ糯¥¿¡¼­ ÀÌÀü´Þ ±¸Çϱâ 2005-05-13 18:46:40
´ÙÀ½°Ô½Ã±Û [perl] ±¸µ¿µÇ´Â ÇÁ·Î±×·¥ÀÇ ½ÇÁ¦¼Óµµ ÃøÁ¤Çϱâ 2005-05-18 11:54:13