texturing questions

Hi All,
I have a texture and I would like to texture map it to a cylinder and a sphere. Can anyone tell me how to do it or give me some pointers that has info related to this. Please not that I use gluSphere and gluCylinder to get my spheres and cylinders.
Thanx
-prasad-

check out this link it is a nehe tutorial about quadratics and uses texture mapping with glu(Cylinder, disk and sphere)
http://nehe.gamedev.net/tutorials/lesson18.asp

Hope that helps