redcloud
15-03-2006, 12:12
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>titolo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
$formform=
<form name='formModifica' method='post' action=''>
<input type='file' size=60 name='filename' id='filename'>
</form>;
echo $formform;
?>
</body>
</html>
Vorrei ricavare la tringa (o solo il nome del file) del campo 'filename' tramite php. Come si fa? Grazie!
<html>
<head>
<title>titolo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
$formform=
<form name='formModifica' method='post' action=''>
<input type='file' size=60 name='filename' id='filename'>
</form>;
echo $formform;
?>
</body>
</html>
Vorrei ricavare la tringa (o solo il nome del file) del campo 'filename' tramite php. Come si fa? Grazie!