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

   Á¶È¸ 5773   Ãßõ 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 3608/5679
2015-12   1479625   ¹é¸Þ°¡
2014-05   4942805   Á¤ÀºÁØ1
2018-11   5772   Waterticket
2008-05   5772   ÀÌâÁØ
2006-04   5773   Á¶À缺
2013-02   5773   ¼ºÅõºÒÆÐ
2014-07   5773   Å×µ¹¾ÆÀÌ
2011-10   5773   ºí·ç¿µ»ó
2005-07   5773   ÀÌ¿ø±â
2008-01   5773   ¹ÚÁø±¹
2005-04   5773   ±¸¸í¼­
2017-11   5773   ³ª¿ì¸¶Å©
2005-06   5773   À±Á¾¿Ï
2006-05   5773   ÀÌÅÂÈñ
2008-09   5773   ¹ÚÁø±¹
2012-05   5773   ȸ¿øK
2009-04   5773   amigafan
2006-01   5773   È«Çöö
2006-03   5773   ±è°Ç¿ì
2006-02   5773   °í»óÇö
2005-04   5773   ±è´ö±â
2016-12   5774   ¹Ý¹Ý