tobiasre
Neues Mitglied
Hallo erstmal, ich hoffe mich bin hier richtig mit meinem Problem:
Ich hab ein HTMl formular gemacht mit der man ein Bild auf twitpic uploaden kann.
Das ganze funktioniert einbandfrei. Ich möchte allerdings
lieber so
haben damit man den path der Datei manuell eingeben kann (fragt nicht wiso). Das Problem: Es geht nur mit
Wieso dies so ist habe ich mittlerweile herausgefunden. Meine Frage ist deshalb ob es eine Möglichkeit gibt es mit "type="text"" zu machen sodass trotzdem die Datei und nicht nur der text beim POST weitergegeben wird.
Schon einmal danke!
Ich hab ein HTMl formular gemacht mit der man ein Bild auf twitpic uploaden kann.
Code:
<html>
<body>
<form enctype="multipart/form-data" method="POST" action="http://twitpic.com/api/uploadAndPost">
choose a picture: <input name="media" type="file" /> <br />
twitter username: <input type="text" name="username" /> <br />
twitter password: <input type="text" name="password" /> <br />
tweet message: <input type="text" name="message" /> <br />
<input type="submit" value=" upload " />
</form>
</body>
</html>
Code:
choose a picture: <input name="media" type="file" /> <br />
Code:
choose a picture: <input name="media" type="text" /> <br />
Code:
type="file"
Schon einmal danke!