PHP echo URL value

<?php echo htmlspecialchars($_GET["src"]);?>
Ex: http://www.url.com?src=Name

<html>
<head></head>
<body>
<video src="<?php echo htmlspecialchars($_GET["src]);?>" controls></video>
</body>
</html>

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.