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.

check out this link it is a nehe tutorial about quadratics and uses texture mapping with glu(Cylinder, disk and sphere)

Hope that helps