Files
Testing/videocall3/RTCMultiConnection/demos/SSEConnection/get-param.php
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

22 lines
590 B
PHP

<?php
// Muaz Khan - www.MuazKhan.com
// MIT License - https://www.webrtc-experiment.com/licence/
// Documentation - https://github.com/muaz-khan/RTCMultiConnection
function getParam($id)
{
$param = false;
if (!empty($_POST[$id])) {
$param = $_POST[$id];
} else if (!empty($_GET[$id])) {
$param = $_GET[$id];
} else if (!empty($_REQUEST[$id])) {
$param = $_REQUEST[$id];
} else if (!empty($_SERVER[$id])) {
$param = $_SERVER[$id];
} else if (!empty($_FILES[$id])) {
$param = $_FILES[$id];
}
return $param;
}
?>