index.html 메인에 로그인
넣는 방법은 뭘까요 ..ㅠㅠ php에 넣으시라고하셨는데 ...
html에 넣는거...전 왜 안될까요 ..ㅠㅠㅠ
html에 넣는거...전 왜 안될까요 ..ㅠㅠㅠ
댓글 10개
연후하은아빠
14년 전
<? include_once("$g4[path]/lib/outlogin.lib.php"); ?>
<?=outlogin("basic"); // 외부 로그인 ?>
<?=outlogin("basic"); // 외부 로그인 ?>
탐탐이와이프
14년 전
Warning: include_once(/lib/outlogin.lib.php) [function.include-once]: failed to open stream: No such file or directory in /home/zzoczi/snap/index2.html on line 86
Warning: include_once() [function.include]: Failed opening '/lib/outlogin.lib.php' for inclusion (include_path='.:/usr/local/php_5.2.6/lib/php') in /home/zzoczi/snap/index2.html on line 86
Fatal error: Call to undefined function outlogin() in /home/zzoczi/snap/index2.html on line 87
이렇게 뜨는데요 ㅠㅠㅠ
Warning: include_once() [function.include]: Failed opening '/lib/outlogin.lib.php' for inclusion (include_path='.:/usr/local/php_5.2.6/lib/php') in /home/zzoczi/snap/index2.html on line 86
Fatal error: Call to undefined function outlogin() in /home/zzoczi/snap/index2.html on line 87
이렇게 뜨는데요 ㅠㅠㅠ
연후하은아빠
14년 전
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?>
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?>
탐탐이와이프
14년 전
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?>
를 맨앞에 html앞에 넣으면 되는거아닌가요 ???이제 아무것도 안떠요 ㅠㅠ 제가 뭘 잘 못했나요 ㅠㅠ
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?>
를 맨앞에 html앞에 넣으면 되는거아닌가요 ???이제 아무것도 안떠요 ㅠㅠ 제가 뭘 잘 못했나요 ㅠㅠ
연후하은아빠
14년 전
주소도 없고 뭘 봐야 진단이 되죠^^
탐탐이와이프
14년 전
http://www.isnap.kr/index2.html 입니다 ㅠㅠ
연후하은아빠
14년 전
근데 질문이 있는데요 굳이 html로 하시려는 이유가??
index2.php로 바꿔보세요..
index2.php로 바꿔보세요..
탐탐이와이프
14년 전
html이 php보다 상위에 있어서 홈페이지로 들어가면 index.html로 들어가져서요....
홈페이지 주소가르켜드릴께요 ..www.isnap.kr 인데요
index.php는 admin으로 가고
index.html은 www.isnap.kr 으로 바로 떠서 .....
그 메인에 로그인창을 넣어야되는데 ...도저히 안되요 ..ㅠㅠ
홈페이지 주소가르켜드릴께요 ..www.isnap.kr 인데요
index.php는 admin으로 가고
index.html은 www.isnap.kr 으로 바로 떠서 .....
그 메인에 로그인창을 넣어야되는데 ...도저히 안되요 ..ㅠㅠ
연후하은아빠
14년 전
index.php는 adminindex.php으로 교체하시고
index.html 은 index.php로 하세요..
html과 php의 코드를 복합해서 사용하기 힘듭니다..
index.html 은 index.php로 하세요..
html과 php의 코드를 복합해서 사용하기 힘듭니다..
탐탐이와이프
14년 전
php로 만들어서 넣었는데 오류가 뜹니다 .ㅠ위에 넣으라고 하신거 다 넣었는데 ..ㅠㅠ
Warning: include_once(/lib/outlogin.lib.php) [function.include-once]: failed to open stream: No such file or directory in /home/zzoczi/snap/index.php on line 89
Warning: include_once() [function.include]: Failed opening '/lib/outlogin.lib.php' for inclusion (include_path='.:/usr/local/php_5.2.6/lib/php') in /home/zzoczi/snap/index.php on line 89
Fatal error: Call to undefined function outlogin() in /home/zzoczi/snap/index.php on line 90
Warning: include_once(/lib/outlogin.lib.php) [function.include-once]: failed to open stream: No such file or directory in /home/zzoczi/snap/index.php on line 89
Warning: include_once() [function.include]: Failed opening '/lib/outlogin.lib.php' for inclusion (include_path='.:/usr/local/php_5.2.6/lib/php') in /home/zzoczi/snap/index.php on line 89
Fatal error: Call to undefined function outlogin() in /home/zzoczi/snap/index.php on line 90
게시글 목록
| 번호 | 제목 |
|---|---|
| 284508 | |
| 284499 | |
| 284492 | |
| 284490 | |
| 284484 | |
| 284481 | |
| 284478 | |
| 284476 | |
| 284474 | |
| 284472 | |
| 284470 | |
| 284458 | |
| 284457 | |
| 284454 | |
| 284453 | |
| 284447 | |
| 284446 | |
| 284444 | |
| 284441 | |
| 284440 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기