Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi Indy Datei Upload Post an PHP Script! (https://www.delphipraxis.net/76523-indy-datei-upload-post-php-script.html)

Kidix 5. Sep 2006 20:19


Indy Datei Upload Post an PHP Script!
 
Hi,


hier gab es mal nen Code um per Indy Post ne komplette Datei an ein UploadScript welches so aussieht:

Code:
$uploaddir = 'files/';
$uploadfile = $uploaddir. $_FILES['archive']['name'];

print "<pre>";
if (move_uploaded_file($_FILES['archive']['tmp_name'], $uploadfile)) { 
    print "File is valid, and was successfully uploaded. ";
    print "Here's some more debugging info:\n";
    print_r($_FILES);
} else { 
    print "Possible file upload attack!  Here's some debugging info:\n";
    print_r($_FILES);
}
zu senden. Ich finde aber zum verrecken nichts dazu hier im Forum. obwohl ich weiß das es da ist.
Hat jemand ne Idee wie mans machen kann oder evtl. den Link zum Beitrag?

Kidix

Kidix 7. Sep 2006 11:38

Re: Indy Datei Upload Post an PHP Script!
 
push

Kidix 15. Sep 2006 13:08

Re: Indy Datei Upload Post an PHP Script!
 
push


Alle Zeitangaben in WEZ +1. Es ist jetzt 23:40 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz