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

   Á¶È¸ 5771   Ãßõ 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 3601/5678
2015-12   1477670   ¹é¸Þ°¡
2014-05   4940821   Á¤ÀºÁØ1
2017-02   5762   ½ÅÀº¿Ö
2016-06   5762   geniefix
2005-04   5762   ±èÁöÈÆ
2005-06   5762   ¼ÕÀçÈÆ
2015-03   5762   ÇÏÈ÷ÈÖÇì
2013-01   5762   inquisitive
2016-06   5762   eunrabuny
2011-11   5762   ±èÁØÀ¯
2013-10   5762   ³ª¿ì¸¶Å©
2014-04   5762   °¡ºü·Î±¸³ª
2005-08   5762   ±èÁ¤Áß
2006-04   5763   ÀÌ»ó·æ
2016-12   5763   ½Ãµµ´Ï
2020-04   5763   ½Å¹Îö2
2008-01   5763   ±èÇö¿ì
2006-06   5763   ±èÇü¹Î
2005-09   5763   À¯»ç¿ë
2012-01   5763   ÀÌÀçÈ£TM
2005-09   5763   ³²±ÃÀϳ²
2016-02   5763   PiPPuuP