can i connect my usb dongle directly onto my ps3, and will it connect to the internet?

Is your PS3's built in Wifi broken? Or do you have one of the very rare models (I guess original 20GB?) that didn't have wifi? A standard USB adapter will not work, you'd be better off plugging it in or buying a wifi-to-ethernet adapter.