1. If i have an E-commerce site and i sell products online how can i be sure that the credit card no. given by the customer is valid and has not expired.
-- You dont need to worry about it, payment gateway will handle it, you just need to buy payment gateway service and then let them handle it
2.How can i be sure that the credit card no. has not been tampered with midway before coming to the site.
-- Well, what does this mean? You cannot control on whatever happens before the user enters the credit card number...
3.If i want to use my own server can i rely on mysql database server and php scripting, both performance and security wise.
-- well, you just need to keep the software updated and as well as you should make sure that you do not have any loopholes in your code too...
4.If Mysql and php are best then why arent big e-commerce sites using it.
-- It is not like best or anything, it depends upon the usage, if some companies need to use functionality of asp.net or JSP then they wont use PHP and vice varsa....many big sites are using PHP and mysql for shopping cart basically, one of the example of biggies in indian ecommerce industry would be
www.tajonline.com
5.Do u know what sites like Bazee.com, rediff.com,yahoo.com etc. use.
-- ebay is on cgi, rediff is on JSP, yahoo india uses rediff shopping, yahoo.com uses many languages basically, their current OS shows FreeBSD so the coding language can be non-microsoft but it is highly possible that yahoo might be using some other OS and showing it as FreeBSD in server banners...
Yahoo small business section uses PHP and mysql...
I hope I have answered all your questions
Deep