How do I create a “Submit” section for my website?

January 24th, 2020

Hey everyone, I’m hoping some of the coding/programming masters can lend me a hand and point me in the right direction to how I would go about creating a Submit section for a website?
I’m after something similar to what’s on www.fmylife.com/ where visitors can click submit and fill in the appropriate details with no trouble. Whats the easiest way this could be accomplished? Also, does anyone know what process a site like fmylife or failblog would use? Would all the submitted information get sent to an email where it would be moderated and added to the site at a later time? Is that how it would work? Something similar to that?
I would appreciate your expertise on this one guys…
Cheers
EDIT: On a side note, is it possible to download/edit and experiment with wordpress and joomla without having a server? I mean, can I open it up in my browser so it acts like a normal website so I can try to experiment?

Answer #1
You should post this into programming section, but, since it’s here…
You can create a basic HTML form (or you can style it with CSS, it’s up to you) and then use PHP to handle the filled informations. You can then send them to your e-mail using the mail() function, or you can save data to prepared MySQL tables. I’d suggest you MySQL, because if you have a lots of visitors, mail can be flooded. If you use MySQL, then there is no problem to write another PHP script which will show the table contents, without accessing it directly via e.g. phpMyAdmin.
There are lots of articles to this topic on the internet. Use Google to find them.

 

| Sitemap |