[php] 구글검색을 이용한 검색창 달기 > 팁앤테크

본문 바로가기
사이트 내 전체검색

팁앤테크

[php] 구글검색을 이용한 검색창 달기

페이지 정보

profile_image
작성자 제로
댓글 1건 조회 103,169회 작성일 11-03-14 00:01

본문

검색으로인해 서버부화가 많이 생기면 이렇게 이용해 보세요..

**************************

<form id="fsearchbox" method="get" action="#" onsubmit="return fsearch_submit(this)" target="_blank">
        <input type="hidden" name="q" />
        <input type="hidden" name="ie" value="utf-8" />
        <input type="text" name="qstr" class="text" />
        <input type="submit" name="sa" class="bt_bg03 bt_border03" style="width:45px" value="검색" />

        </form>

        <script>
        function fsearch_submit(f)
        {
            f.q.value = "site:zeronara.net " + f.qstr.value;
            f.action = "http://google.com/search";
            return true;
        }
        </script>

댓글목록

profile_image

PHP개발님의 댓글

PHP개발 작성일

저도 위의 소스 적용해서 잘쓰고 있습니다.

Total 829건 14 페이지
  • RSS
팁앤테크 목록
번호 제목 글쓴이 조회 날짜
504 제로 81338 05-30
503 제로 92518 05-26
502 제로 70074 05-25
501 띠떼 137445 05-22
500 제로 119442 05-12
499 제로 63389 05-11
498 제로 97626 05-10
497 제로 103370 05-07
496 페르쏘나 49319 05-06
495 제로 51471 05-06
494 페르쏘나 51710 05-04
493 제로 48208 05-04
492 제로 57344 04-23
491 제로 123312 04-20
490 제로 111653 04-20
489 제로 87997 04-16
488 제로 56781 04-12
487 제로 117517 04-09
486 제로 118841 04-07
485 제로 105262 04-07
484 제로 109097 03-30
483 제로 101510 03-26
482 제로 81357 03-21
열람중 제로 103170 03-14
480 제로 105779 03-10

검색


사이트 정보

株式会社YHPLUS / 대표 : ZERO
〒140-0011 東京都品川区東大井2-5-9-203
050-5470-4714
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d

접속자집계

오늘
23,535
어제
37,399
최대
552,140
전체
16,167,189
Copyright (c) 株式会社YHPLUS. All rights reserved.