Autor Beitrag
Darkpara
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 61

Win XP

BeitragVerfasst: Mi 03.10.07 16:24 
schon wieder eine frage^^

diesmal geht es darum ein bild pet Upload-component von delphi for php hochzuladen:

ausblenden 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 user profile iconChristian S.: Code-Tags hinzugefügt
Regan
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2157
Erhaltene Danke: 72


Java (Eclipse), Python (Sublimetext 3)
BeitragVerfasst: Fr 05.10.07 15:16 
Schau mal hier: PhP-Free Da hab ich meinen Uploader her.