http://www.w3.org/TR/REC-html40/interac … ef-enctype
<form action="blah" method="post" enctype="multipart/form-data">
<!-- blah -->
<input type="file" ...>
That should upload the file in the post data, and not to a temporary location, as far as I know anyways... But I suppose I could be wrong... It be the first time lol
EDIT --
http://www.ietf.org/rfc/rfc2388.txt
Looks like the specs specify what the httpd app can do with that data... it has to go to the perl script in the same way that a multi-part e-mail message would show up in telnet. I'm unsure how php handles this, but i'm assuming it's the same thing. If something ends up in tmp, it's probably due to the way profile.php and/or php stores that data, and very litle to do with the w3 specs.
EDIT --
Hummm, found this:
http://www.thescripts.com/forum/thread925.html looks like php uses tmp for the FILES variable...
Might have to use something with power server side, like perl... I really wish php was just perl with ?> substituted as END; and <?php substituted as print <<END... but such is life...
Lemme see if there's a way to "bypass" the FILES variable...
EDIT --
"http://ca.php.net/wrappers.php wrote:php://input allows you to read raw POST data. It is a less memory intensive alternative to $HTTP_RAW_POST_DATA and does not need any special php.ini directives. php://input is not available with enctype="multipart/form-data"
Hurm... almost there... gimme a few more...
echo "deadram"; echo; fortune;