There are numerous ways to mount a pipe to the floor including using u-bolts, hold-down pipe clamps, or pipe shoes. The most applicable of these options depends upon the use of the support whether it be as a load carrying member, guide or anchor.
Hold-Down Pipe Clamp