Webbserverprogrammering 1

Show sourcecode

The following files exists in this folder. Click to view.

webbserverprogrammering/exercises/ovn_ts/

ovn_ts1.php
ovn_ts2.php
ovn_ts3.php
ovn_ts4.php
ovn_ts5.php
ovn_ts6.php

ovn_ts6.php

21 lines UTF-8 Windows (CRLF)
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Övning textsträng 6</title>
</head>
<body>
    <form action="" method="POST">
        <textarea name="text" id="text"></textarea>
        <button type="submit">Skicka</button>
    </form>

    <?php 
        
if (!empty($_POST["text"])) {
            
// Processa texten
        
}

    
?>
</body>
</html>