Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Can someone recommend a customizable contact form, please? Reply To: Can someone recommend a customizable contact form, please?

#169736
__
Participant

I’m still not getting this. I tried again and still a white page.

What version of PHP are you running? I just realized something.

If you’re running an older version, you might not have the openssl_random_pseudo_bytes function, which would cause a fatal error when it is called. Does your web host give you access to your php error logs?

I don’t understand where the html code you have after the form code is supposed to go…
I have the css style sheet in the same folder as the php files, is this correct?

I know it seems counter-intuitive, but there is no html or stylesheet. The class provides all of it. The two files in our gist are everything you need. Don’t put the raw HTML form on your page; don’t link any stylesheets for the form. PHP is writing it for you.