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

   Á¶È¸ 5774   Ãßõ 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 5120/5680
2014-05   4944749   Á¤ÀºÁØ1
2015-12   1481452   ¹é¸Þ°¡
2011-12   5933   klein
2022-11   2435   ±×¸°
07-02   1012   »ßµ¹À̽½ÇÄÀÌ
2015-06   2959   ¿À¸®½ÃÅ°
2016-07   4771   ±ÇÅ¿µ
2018-11   3077   ±Ô´Ï
2016-08   4747   ȲÀ籤
2014-03   9779   ¹æoÈ¿o¹®
2014-03   4312   ½Å¼º°ø
07-25   941   VSPress
2015-07   3218   Àο¬
2022-12   1931   ´ÙÀÌ´ÙÀÌ
2016-08   3746   faeqpd
2021-04   4854   Ulmo
2014-03   3737   dusrl00
2016-08   4256   ¹é¸¸½º¹°Çϳª
2022-12   1527   ¾ÈÇü°ï
2012-02   10205   µå¶ó±º
2017-08   5361   ½Öcpu
2022-12   1688   Baran