Hi,
ich möchte Dateien auf meinem Server per Mausklick kopieren. Ich hatte mir das so vorgestellt:
Mein Problem ist, dass egal bei welchem Klick immer die bild7.jpg ausgeführt wird.
Wie kombiniere ich den copy Befehl mit dem Mausklick korrekt?
Danke,
FrankW
Code:
<?php
/**
* Dateien kopieren
*/
?>
<head><title>Präsentation Steuerung</title></head>
<body>
<h1>Seitenwechsler</h1>
<ul>
<li><a href="<?php copy("bild2.jpg","bild.jpg"); ?>">Bild 2 auf Bild kopieren</a></li>
<li><a href="<?php copy("bild3.jpg","bild.jpg"); ?>">Bild 3 auf Bild kopieren</a></li>
<li><a href="<?php copy("bild5.jpg","bild.jpg"); ?>">Bild 5 auf Bild kopieren</a></li>
<li><a href="<?php copy("bild7.jpg","bild.jpg"); ?>">Bild 7 auf Bild kopieren</a></li>
</ul>
</body>