1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Adsense form options

Discussion in 'HTML & Website Design' started by kusadasi-guy, Oct 31, 2004.

  1. #1
    Hi all;

    i wanna change my adsense search forum fields, what i want is if a visitor chooses "site search" then the form post the data to "mywebsite.com/search.php"

    or

    a visitor choose "web search" then form sumbit the data to google.

    How can i do this?

    
    <form method="get" action="http://www.google.com/custom" target="google_window" >
    <input type="hidden" name="domains" value="www.mysite.com"></input>
    <input type="text" name="q" size="31" maxlength="255" value=""></input>
    <input type="submit" name="sa" value="Search"></input>
    <br />
    <font size="-1" color="#000000">
    <input name="sitesearch" type="radio" value="" checked="checked">
    </input> Web
    <input type="radio" name="sitesearch" value="www.mysite.com">
    </input>www.mysite.com
    </font>&nbsp;&nbsp;
    <input type="hidden" name="client" value="xxxxx"></input>
    <input type="hidden" name="forid" value="1"></input>
    <input type="hidden" name="ie" value="ISO-8859-1"></input>
    <input type="hidden" name="oe" value="ISO-8859-1"></input>
    <input type="hidden" name="cof" value="GALT:#006633;GL:1;DIV:#FFFFFF;VLC:003399;AH:center;BGC:FFFFFF;LBGC:FFFFFF;ALC:003399;LC:003399;T:000033;GFNT:009900;GIMP:009900;LH:50;LW:200;L:http://www.mysite.com/logo.jpg;S:http://www.mysite.com;FORID:1;"></input>
    <input type="hidden" name="hl" value="en"></input>
    </form>
    
    PHP:
     
    kusadasi-guy, Oct 31, 2004 IP