[Áú¹®]Php ¼Ò½ºÁ» º¸°í µµ¿ÍÁÖ¼¼¿ä..

   Á¶È¸ 5777   Ãßõ 0    

http://mukgeak.com/daejun/index.php?cart=13&sub=main

들어가면 아래와 같은 내용이..

Warning: include(/result.htm) [function.include]: failed to open stream: No such file or directory in D:\Web\mukgeak\daejun\index.php on line 42

Warning: include() [function.include]: Failed opening '/result.htm' for inclusion (include_path='.') in D:\Web\mukgeak\daejun\index.php on line 42

 

index.php

<html>

<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ks_c_5601-1987">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>대한민국 인터넷 서예.문인화 대전</title>
</head>

<?

include "top.php";
?>

<table width="800">
 <tr>
  <td width="150">
  <?
  include "left.php";
  ?>
  </td>
  <td>

<?
if($sub == 'valuation'){
 include $cart."/valuation.htm";
}elseif($sub == "judge"){
 include $cart."/judge.htm";
}elseif($sub == "main"){
 include $cart."/main.htm";
}elseif($sub == "chulpoom"){
 include $cart."/chulpoom.htm";
}elseif($sub == "result"){
 include $cart."/result.htm";
}elseif($sub == "results"){
 include $cart."/results.htm";
}elseif($sub == "exhibition"){
 include $cart."/exhibition.htm";
}elseif($sub == "new"){
 include $cart."/main.htm";
}else{
 include $cart."/result.htm";
}
?>

  </td>
 </tr>
</table>

</html>

 

윈도우 2003에서는 잘되는데 윈도우 2008에서는 위와같은 에러가 나면서 안되네요..

php 구문은 하나도 모르는데 고수님들이 좀 도와주세요.

이것 때문에 늙은놈이 밤새네요..

감사합니다.

 


ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
±è¿¬Èñ 2012-06
$cart ¸¦ ¸ÕÀú Âï¾îº¸¼Å¾ß °Ú³×¿ä.

<?
if($sub == 'valuation'){

À̺κÐÀ»

<?
echo $sub.'<br>---------------<br>'.$cart; exit;
if($sub == 'valuation'){

ÀÌ·¸°Ô ¹Ù²ãº¸½Ã±¸¿ä.

$sub ¿Í $cart °ªÀ» È®ÀÎÇغ¸½Ã°í, °æ·Î¸¦ È®ÀÎÇغ¸¼¼¿ä.
ÇØ´ç °æ·Î¿¡ result.htm ÆÄÀÏÀÌ ¾ø¾î¼­ ³ª´Â ¿¡·¯ ÀÌ´Ï $cart ¿¡ ´ã±ä °æ·Î°¡ ¾î¶»°Ô µÇ´ÂÁö È®ÀÎÇØ¾ß ¼öÁ¤°¡´ÉÇÒ °Í °°½À´Ï´Ù.
PHP ¼³Á¤ ÆÄÀÏÀ» »ìÆì º¸¼Å¾ß ÇÒ °Í °°½À´Ï´Ù.
ÇöÀç ¿¡·¯ »óȲÀ» º¸¸é Á¦ÀÏ ¸¶Áö¸· else ±¸¹®ÀÌ ½ÇÇà µÇ´Â µí ÇÕ´Ï´Ù.

Áï $sub, $cart °ªÀ» Á¦´ë·Î °¡Á® ¿ÀÁö ¸øÇÏ´Â °Í °°½À´Ï´Ù.
PHP ¹öÀü º¯°æÀ̳ª ¼³Á¤ÆÄÀÏ º¯°æÀ¸·Î
POST, GET¿¡ µû¶ó ´ã±â´Â º¯¼ö°¡ ±¸ºÐµÇ´Â °É·Î º¸ÀÔ´Ï´Ù.

À§ º¯¼ö¸¦ $_GET['sub'], $_GET['cart'] ÀÌ·±½ÄÀ¸·Î º¯°æ Çϸé Á¤»ó ÀÛµ¿ÇÒ °ÍÀ¸·Î º¸ÀÌÁö¸¸
´Ù¸¥ ÆäÀÌÁöµµ ¼öÁ¤ÇØ¾ß Çϱ⠶§¹®¿¡ ¼³Á¤ÆÄÀÏÀ» º¯°æÇÏ¼Å¾ß ÇÕ´Ï´Ù.

Á¦°¡ PHP´Ù·éÁö ¿À·¡µÇ¾î ¼³Á¤ÆÄÀÏ º¯°æÀº ´Ù¸¥ºÐ¿¡°Ô Æнº
¶Ç´Â phpschool.com¿¡¼­ ã¾Æº¸¼¼¿ä
±èÀ±¼ú 2012-06
¾ÆÆÄÄ¡ ¾Æ´Ï´ø°¡¿ä? IIS¸é ¸ðµâ ¼³Á¤ÇÒ°Ô ¸¹Àºµ¥...
php´Â IIS¿¡¼­ ¾ÈµÇ´Â ÇÔ¼öµéÀÌ ¸¹¾Æ¿ä.
À©µµ¿ì ȯ°æ¿¡¼­ temp ±ÇÇÑ¿¡¼­ ÀÍ¸í ¼öÁ¤±ÇÇѱîÁö ÀÖ¾î¾ß ¿¡·¯ ¾ø´Ù´Â°Íµµ ¾îµð¼­ º»µíÇѵ¥...
2³âÀü¿¡ ³Êµµ iis¿¡¼­ php ¾²´Ù°¡ °á±¹ ÀÌ·± ³­°ü¿¡ ºÎµúÇô¼­  php´Â ¹«Á¶°Ç ¾ÆÆÄÄ¡·Î ¿î¿µÇÏ°í ÀÖ½À´Ï´Ù.


QnA
Á¦¸ñPage 5121/5680
2015-12   1482916   ¹é¸Þ°¡
2014-05   4946238   Á¤ÀºÁØ1
2021-04   4858   Ulmo
2014-03   3742   dusrl00
2016-08   4261   ¹é¸¸½º¹°Çϳª
2022-12   1534   ¾ÈÇü°ï
2012-02   10206   µå¶ó±º
2017-08   5364   ½Öcpu
2022-12   1692   Baran
2017-08   3036   ÀÌÀç¿ëÀÔ´Ï´Ù
2021-05   2807   ¹é¸¸½º¹°Çϳª
2018-12   2226   winner712
2016-08   4191   ǪÇÏÈ÷
2020-01   1896   NiteFlite9
2016-08   3275   Ŭ·¡½Ä
2017-09   3786   ºí·ç2014
2012-03   6259   ¸®Ä«¶ó¹Ù
2016-08   3426   H4CHI
2017-09   4211   online9
2018-12   2398   ¹ÎÁöÆÄÆÄ
2016-08   4254   ¹¹¸Ô°í»ì·¡
2021-05   2694   ÀçÈ«ÀÌ