plik html
Kod: Zaznacz cały
<html>
<head>
</head>
<body>
<form method="POST" action="ripp.html ">
<table>
<tr>
<td><input type="text" name="radionazwa" value="" size="20" /></td>
</tr>
</table>
<input type="submit" value="Wyślij (Kliknij tylko raz)" style="font-weight: bold; width: 200px; height: 50px; border-style: dotted; border-color: #000000" />
</form>
</html>
Kod: Zaznacz cały
<?php system("sh /rips/rip.sh");
$radionazwa
?>
<html>
<head>
<META HTTP-EQUIV=Refresh CONTENT="0; URL='ripp.html'">
</head>
Kod: Zaznacz cały
#!/bin/sh
cd /public_html/rips
screen
streamripper $radionazwa