외부로그인을 원하는 곳에 넣고 싶은데요
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 :
<?
include_once("./_common.php");
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
echo outlogin("sds"); // sds 스킨으로 아웃로그인을 출력합니다.
?>
현재 이 경로로 성공했거든요?
그런데 저 echo 부분을 지우고 <?=outlogin("sds");?> 를 원하는 부분에 쓰면 출력이 안되고,
저 echo 부분을 쓰면 인터넷 가장 상단 부분 왼쪽 제일 윗부분에 나와요.
index1.php에서 불러오고 싶은데 어떻게 해야하나요?
<?
include_once("./_common.php");
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
echo outlogin("sds"); // sds 스킨으로 아웃로그인을 출력합니다.
?>
head1.php
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
<meta name="generator" content="Namo WebEditor v6.0">
</head>
<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" bgcolor="#A24141">
<div align="left">
<table cellpadding="0" cellspacing="0" width="1200">
<tr>
<td width="342" rowspan="5" valign="bottom" height="1007" background="http://cfile233.uf.daum.net/original/-"><img src="http://cfile230.uf.daum.net/original/-" border="0"></td>
<td width="858" valign="top" height="485" background="http://cfile233.uf.daum.net/original/-" colspan="3"><img src="http://cfile229.uf.daum.net/original/-" border="0">
-------------------------------------------------
index1.php
</td>
</tr>
<tr>
<td width="858" height="20" background="http://cfile233.uf.daum.net/original/-" colspan="3">
<p><?=outlogin("sds");?>
</p>
</td>
</tr>
<tr>
<td width="858" height="217" background="http://cfile233.uf.daum.net/original/-" colspan="3">
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</td>
현재 index.html은 public_html 폴더에, head1.php tail1.php index1.php _common.php head.sub.php는 public_html 폴더 안에 있는 gunboard4 폴더 안에 있어요!
경로가 잘못된 건 아닌 거 같은데 어떻게 해야하나요??
오류 주소 :
<?
include_once("./_common.php");
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
echo outlogin("sds"); // sds 스킨으로 아웃로그인을 출력합니다.
?>
현재 이 경로로 성공했거든요?
그런데 저 echo 부분을 지우고 <?=outlogin("sds");?> 를 원하는 부분에 쓰면 출력이 안되고,
저 echo 부분을 쓰면 인터넷 가장 상단 부분 왼쪽 제일 윗부분에 나와요.
index1.php에서 불러오고 싶은데 어떻게 해야하나요?
<?
include_once("./_common.php");
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
echo outlogin("sds"); // sds 스킨으로 아웃로그인을 출력합니다.
?>
head1.php
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
<meta name="generator" content="Namo WebEditor v6.0">
</head>
<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" bgcolor="#A24141">
<div align="left">
<table cellpadding="0" cellspacing="0" width="1200">
<tr>
<td width="342" rowspan="5" valign="bottom" height="1007" background="http://cfile233.uf.daum.net/original/-"><img src="http://cfile230.uf.daum.net/original/-" border="0"></td>
<td width="858" valign="top" height="485" background="http://cfile233.uf.daum.net/original/-" colspan="3"><img src="http://cfile229.uf.daum.net/original/-" border="0">
-------------------------------------------------
index1.php
</td>
</tr>
<tr>
<td width="858" height="20" background="http://cfile233.uf.daum.net/original/-" colspan="3">
<p><?=outlogin("sds");?>
</p>
</td>
</tr>
<tr>
<td width="858" height="217" background="http://cfile233.uf.daum.net/original/-" colspan="3">
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</td>
현재 index.html은 public_html 폴더에, head1.php tail1.php index1.php _common.php head.sub.php는 public_html 폴더 안에 있는 gunboard4 폴더 안에 있어요!
경로가 잘못된 건 아닌 거 같은데 어떻게 해야하나요??
|
댓글을 작성하시려면 로그인이 필요합니다.
댓글 4개
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?>
이 부분이 있어야 하지 않나요?
<?
include_once("./_common.php");
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
echo outlogin("sds"); // sds 스킨으로 아웃로그인을 출력합니다.
?>
이렇게 있어요!
<?
include_once("$g4[path]/head1.php");
?>
을 넣으면 되는건가요?ㅠㅠ