Pull in random form for testing
<p>I would like some help in starting this project, some advice on where to look. On one of my sites we have a jQuery Tools powered overlay that holds a contact form. The form is located in the /forms directory. I would like to create several (5-6) forms that have different layouts and test which works best with our users. </p>

<p>I think that creating a "control" file in php, and linking to it instead of directly to a form to pull in a random form would work.</p>

<p>I am not sure about the code, but know that I need to:
- read the directory with opendir and readdir?
- add FILES to an array (use is_dir )
- generate a random number between 0 and the count() of the array
- include the specified random file.
- call this function on the click event of the link either inline or jQuery </p>

<p>Would I do this in a separate file? Any advice is much appreciated. Let me know if I need to clarify or add more details.</p>

<p>Thank you.</p>
