테스트 사이트 - 개발 중인 베타 버전입니다

외부로그인 질문이요~ 화면파일 첨부합니다

· 13년 전 · 1399 · 3
eferbo_com_20120222_174844.jpg
imm.jpg
로그인 화면이요~
일단 테스트 페이지로 test7.php 로 로그인 페이지를 만들고있는데요

베이직 스킨으로
-----------------------------------------------------------------------------------------
<?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
$g4['title'] = "";
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body><table width="66" border="0">
<tr>
<td><?=outlogin("basic")?></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>

</body>
</html>
-----------------------------------------------------------------------------------------

test7.php 이렇게 올렸구요

페이지를 확인하면

-----------------------------------------------------------------------------------------
Warning: include_once(./_common.php) [function.include-once]: failed to open stream: No such file or directory in /home/hosting_users/ferbo/www/test7.php on line 2

Warning: include_once() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/ferbo/www/test7.php on line 2

Warning: include_once(/lib/outlogin.lib.php) [function.include-once]: failed to open stream: No such file or directory in /home/hosting_users/ferbo/www/test7.php on line 3

Warning: include_once() [function.include]: Failed opening '/lib/outlogin.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/ferbo/www/test7.php on line 3

Fatal error: Call to undefined function outlogin() in /home/hosting_users/ferbo/www/test7.php on line 12
-----------------------------------------------------------------------------------------
이러한 화면이 나와요

왤까여? ^^;;;

아시는분 도움좀 주시길요..

화면파일 첨부합니다.

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 3개

test 7의 위치는 어디인가요 .
test7.php 파일과 _common.php 파일이 다른 곳에 있네요.
즉 test7.php파일을 _common.php파일이 있는 폴더로 옮겨 주시던가
아니면 _common.php파일의 경로를 확인해 보세요.
그누보드의 index.php 파일은 기본적으로 필요한 파일들이 같은 폴더에 있습니다.
그러니 파일들을 확인해 보면 금방 이해가 갈겁니다.
감사합니다.~~
test7이 gnuboard4 폴더로 넣어주니 해결됐습니다~

게시글 목록

번호 제목
284438
284437
284435
284430
284420
284417
284409
284401
284399
284397
284380
284378
284371
284370
284366
284364
284360
284357
284355
284354