Here's a sample of my code:
$pic_file = $HTTP_POST_FILES['image'];
copy ($pic_file['tmp_name'], $path);
here are the problems:
$pic_file['name'] exist
$pic_file['type'] exist
$pic_file['tmp_name'] empty
$pic_file['size'] empty
does anyone know why it's not there?
Posting the file via an HTML post it works fine. However, when I'm posting a file via my C program nothing shows up except for name and type. I also tried comparing TCP dump using TCP viewer, the posting data and packages are nearly identical.