Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6793621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:07:19+00:00 2026-05-26T18:07:19+00:00

I’m making a site in php and I’m using google custon search for my

  • 0

I’m making a site in php and I’m using google custon search for my site.for this I’m using this code

 <form action="http://192.168.0.113/boobloom/site/search.php" name="search"  id="cse- search-box" >
   <input type="hidden" name="cx" value="018095423333672301222:n5ebktimfxc" />
   <input type="hidden" name="cof" value="FORID:9" />
   <input type="hidden" name="ie" value="UTF-8" />
   <div class="txt-box"><input type="text" name="q"  /></div>
  <div class="boob-img">
  <input type="image" src="images/boob-img.jpg" name="sa" value="Submit"  /></div>
 </form>
 <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-    search-box&lang=en"></script>

but now my requirement is show the result on new page with Iframe.
I Never use Iframe before this.
how can I do this?thanks in advance..

finally I took code from Google Custom Search Engine and put the result in a page.and its working correctely
but the IFrame height is too much..

  <script type="text/javascript">
            var googleSearchIframeName = "cse-search-results";
            var googleSearchFormName = "cse-search-box";
            var googleSearchFrameWidth = 600;
            var googleSearchDomain = "www.google.com";
            var googleSearchPath = "/cse";
        </script>

   <script type="text/javascript" src="www.google.com/afsonline/show_afs_search.js"></script>

I try to change the FrameWidth variable to lower value but it still doesn’t work..how can I do this?

var googleSearchFrameHeight = 300;

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T18:07:20+00:00Added an answer on May 26, 2026 at 6:07 pm

    It’s been a while since I worked with iFrames so this could be slightly wrong & need a bit of modification, but try this:

    <form action="http://www.google.com/search" target="iframe" method="get" onSubmit="Gsitesearch(this)">
         <input name="q" type="hidden" />
         <input name="qfront" type="text" /> 
      <input type="image" src="images/boob-img.jpg" value="Submit" />
    

    And then the iFrame could look something like this:

    <iframe name="iframe" src="" />
    

    Basically, give the iFrame a name value & have URLs or form actions target it.

    Hope this helped!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making a simple page using Google Maps API 3. My first. One marker
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.