[thelist] Yahoo! Mail, Hotmail, Yahoo! Search and MSN Search on my web site!

aardvark roselli at earthlink.net
Thu Feb 14 08:35:00 CST 2002

> From: "Syed Zeeshan Haider" <zeeshan_paki at yahoo.com>
> I have seen some web sites which have fields and buttons for searching
> purpose. The values of buttons are used to be "Search Yahoo", "Search
> MSN" and many others searches. The interesting thing is that they do
> work. How is this done? How can I add such fields and buttons to my
> site? I want to add the sign-in forms on my site for Yahoo!, Hotmail
> and other famous e-mail services so that the visitors are able to
> sign-in to their favourite mail account directly from my web site. Is
> it possible?

each submit has a name and a value...

parse your form based on that...

<input type="submit" name="site" value="Yahoo!">
<input type="submit" name="site" value="Google">
<input type="submit" name="site" value="MSN">


if site = "Yahoo!" then
	do this
elseif site = "Google" then
	do that
elseif site = "MSN" then
	do someone else
end if

More information about the thelist mailing list