ok, i have set up a form like this:

Code:
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" enctype="multipart/form-data">
<input type="file" name="datei" />
<input type="submit" value="Datei hochladen" />
</form>

<?php

if (isset($_FILES['datei']) and ! $_FILES['datei']['error'])
{

$filename = $_FILES['datei']['name'];
move_uploaded_file($_FILES['datei']['tmp_name'], $filename);

echo "<b>Status:</b> Upload komplett";

} else {

echo "<b>Status:</b> Fehler beim Upload";

}
?>



it's called upload.php. now i want to fill this form via the HTTP_Post command:

Code:
dll_handle = dll_open("GSHTTP.dll");
wait(1);
HTTP_Create(0);
wait(1);
while(HTTP_IsWorking(0)==1) {
waitt (16);
}
if (HTTP_Create(0)==0) {
HTTP_Post(0,"http://here's the URL/upload.php",poster2);}
HTTP_Free(0);
dll_close(dll_handle);



but no way, the file (path stored in poster2, no error there) simply doesn't get uploaded. what's wrong with it?