Ragazzi ho queste due pagine in php:
Questa risiede in "www/admin/" e riceve il parametro "$entry" dalla pagina precedente.
codice:
<form method=post name=editor action=../galleria/direname.php>
Nuovo Nome: <input type=text size=40 name=newentry>
<input type="hidden" name="id" value= "<?=$entry?>">
<input type=submit value=Invia>
</form>
Questa pagina risiede in "www/galleria" e dovrebbe ricevere il parametro "$entry" (che non riceve) & "$newentry" (che riceve).
codice:
<?php
echo "$entry & $newentry";
rename("$entry", "$newentry");
?>
Non so come risolvere la questione.
Sapete aiutarmi?
Grazie!