you can clarify with federal bank whether your card is ATM card or ATM-cum-Debit card. In case it is the latter, you can use it here.
For HDFC, ask your friend to mark the previous card as lost ASAP and then ask for a replacement card. HDFC will charge him about a 100/= fee for that. After that, he'll have to activate the card by withdrawing from an ATM. THen he can use it online. (Ask him to inquire about the Netsafe facility also. It is useful for online shopping.)
-- Signature: I am Jack's complete lack of surprise.
-- Signature: I am Jack's complete lack of surprise.