RE: [PHP] Re: uploading files... necessary Ajax?

From: Date: Wed, 21 Nov 2007 17:21:55 +0000
Subject: RE: [PHP] Re: uploading files... necessary Ajax?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-264925@lists.php.net to get a copy of this message
[snip] So that I can get my head around this, are all of you saying there is no Ajax equivalent of: <form action="index.php" enctype="multipart/form-data" method="post"> <input type="hidden" name="MAX_FILE_SIZE" value="2048000" > <input name="userfile" type="file"> <input type="hidden" name="stage" value="1"> <input type="submit" value="submit"> We can't in some way use the ajax post method to send the file in the background without a refresh (other than using iframe) is that correct? Or am I completely missing something here? [/snip] That is correct. Without an IFRAME you cannot upload a file without a refresh.

« previous php.general (#264925) next »