Je voudrais faire un scripte qui génaire grace au formulair ci desous dans le champ "code" le code ci dessous.
Fourmulair :
Code : Tout sélectionner
<form name="audio">
<p>URL du fichier :
<input name="url" type="text" value="http://" size="50">
<table width="289" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="145">Dépar automatique :</td>
<td width="144"><input type="radio" name="depar" value="true">
Oui </td>
</tr>
<tr>
<td> </td>
<td><input name="depar" type="radio" value="FALSE" checked>
Non</td>
</tr>
</table>
<br>
<br>
<input type="button" name="Submit" value="Généré le code :">
<input type="reset" name="Submit" value="Réinitialiser">
<br>
<textarea name="code" cols="50" rows="3"></textarea>
<br>
</p>
</form>Code : Tout sélectionner
<EMBED src=[i]Valeur du champ "url"[/i] width=200 height=50 type=audio/mpeg LOOP="FALSE" AUTOSTART="[i]valeur du champ "depar"[/i]">