<?php
if(isset($_POST['submit'])){
$name = htmlspecialchars(stripslashes(trim($_POST['name'])));
$subject = htmlspecialchars(stripslashes(trim($_POST['subject'])));
$email = htmlspecialchars(stripslashes(trim($_POST['email'])));
$message = htmlspecialchars(stripslashes(trim($_POST['message'])));
if(!preg_match("/^[A-Za-z .'-]+$/", $name)){
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://dev.to/manishfoodtechs/live-broadcast-on-html-page-with-html5-video-injust-30-minutes-3pp6 | |
=========================================================================================== | |
# 1: Install Nginx + RTMP module. | |
sudo apt install -y nginx | |
sudo apt install -y libnginx-mod-rtmp | |
# 2: Installing required & additional software. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="fb-editor"></div> | |
<div id="action-buttons"> | |
<button class="btn btn-warning" id="show-preview">Preview Form</button> | |
<button class="btn btn-danger" id="clear-form">Clear Form</button> | |
<button class="btn btn-primary" id="save-form">Save Form</button> | |
<button class="btn btn-info float-right" id="load-data">Load Demo Form</button> | |
</div> | |
<div class="container"> | |
<div id="fb-rendered-form" class="row justify-content-md-center"> | |
<form id="userForm" action="#" class="col-md-8"></form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 |