I'm looking for a beta form. what i want it to do is auto redirect user from a main site to the enter beta key form. If they don't have a key , a link to a get beta key signup form that only require a name ane email. This is mostly to limit who i want accessing the site. Thanks.

So you want to stop access to your site unless the visitor is already a member (thus knowing the key) or sign up to be a member (and being given the key)?

Sounds like a basic member login script. There are plenty of good tutorials already out on this subject.
http://lmgtfy.com/?q=php+member+login+tutorials


Hope this helps
Zagga

Just consider beta form as a login page.
On home page is session is not set user is redirect to key enter page.
If key is properly inserted you can set session and redirect back to home page.

You can achieve your requirement by checking and setting simple php sessions.