| | |
script to call google search?
Please support our Perl advertiser: Programming Forums - DaniWeb Sister Site
![]() |
Hey everyone, I need a little snippet of code that I can use to call a google search. I know I can just use html to link to a google search with a predefined search string in the search box, but what I'd like to do is create a little text box where my users can input a search term and click "search", and then the code would pass that search on to google. I know it's easier just to go to google and type in the search yourself, but I need extra predefined text added to the search string in addition to what the user inputs to the search box.
Here's the example. The user types in the search box, "computers."
I would like the script to place the word "computers" in some other search text, say, "future of" + "computers" + "family values". Or something to that effect. So basically, I want the script to take the {user search} and call a google search with that {user search} placed in the middle of my predefined search terms.
Any ideas?
Here's the example. The user types in the search box, "computers."
I would like the script to place the word "computers" in some other search text, say, "future of" + "computers" + "family values". Or something to that effect. So basically, I want the script to take the {user search} and call a google search with that {user search} placed in the middle of my predefined search terms.
Any ideas?
![]() |
Similar Threads
- hclean.exe trojan, norton anitvirus not working and google search problems (Viruses, Spyware and other Nasties)
- Random Google Search (PHP)
- Google Search (Pay-Per-Click Advertising)
Other Threads in the Perl Forum
- Previous Thread: modify script
- Next Thread: LWP HTML ::TokeParser - running against a bulletin board
Views: 4174 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for Perl





