schon wieder eine frage^^
diesmal geht es darum ein bild pet Upload-component von delphi for php hochzuladen:
Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13:
| function Button2JSClick($sender, $params) {
?> //Add your javascript code here
var items = TreeView1.getSelectedElement().getItems(); var id = items[0].tag; document.getElementById('Edit1').value = id; //Hier müsste glaub ich der upload befehl rein <?php
} |
hier lade ich den ordner die id entspricht dem namen. nun bräuchte ich sozusagen nur einen code welcher das bild hochbefördert.
zur auswahl des bildes welches man hochladen möchte habe ich ein Upload1 erstellt aus welchem ich ja normaler weise den Path des Bildes auslesen kann.
kann mir wer weiter helfen?
Moderiert von Christian S.: Code-Tags hinzugefügt