'-------------------------------------------------------------------------- ' send this from the server to the clients browser '-------------------------------------------------------------------------- html "" html "" html "
Yahoo Search
Find" textbox #find,findThis$,30 html "
Page" textbox #page,findPage$,2 html "
" button #s, "Search", [search] html " " button #ex, "Exit", [exit] html "
" wait '-------------------------------------------------------------------------- ' get search stuff from the clients browser '-------------------------------------------------------------------------- [search] findThis$ = trim$(#find contents$()) findPage$ = trim$(#page contents$()) findPage = max(val(findPage$),1) ' must be at least 1 '-------------------------------------------------------------------------- ' sho page but keep user interface at the top by not clearing the page (cls) ' so they can change the search or page ' ------------------------------------------------------------------------- url$ = "http://search.yahoo.com/search?p=";findThis$;"&b=";((findPage - 1) * 10) + 1 html httpget$(url$) wait [exit] cls ' clear browser screen and get outta here wait