I'm having some problems with this plugin as well...
I have a simple form, with two text inputs, and a file input.
I use ajaxForm on this form so that it is sent using AJAX. If I don't
select a file in the file input, everything works correctly. The
$_POST array contains all values present in
Can you post a demo page that shows the problem?
On 10/29/07, leo_ [EMAIL PROTECTED] wrote:
I'm having some problems with this plugin as well...
I have a simple form, with two text inputs, and a file input.
I use ajaxForm on this form so that it is sent using AJAX. If I don't
select a
Hi!
I dont submit the from via ajax, because i dont works :-). The Page
reloads not until the file has been uploaded completely. So I can
check the progress in a loop. Is the file too smal, it uploads so
fast, that you cant see it. Is the file too big, the server doesn't
accept it. Check your
micha149 ha scritto:
I think it must work. Bu i'n not an yui man. I make it with jQuery:
$(document).ready( function() {
// define the check progress function
var getProgress = function() {
$.ajax({
type: GET,
url: document.URL +
I've got the same problem too! :-(
The plugin documentation says: Fileupload, yes! (using an iframe)
But the retrieving php-script has an empty $_FILES
greetz micha149
On 17 Okt., 04:08, Mike Alsup [EMAIL PROTECTED] wrote:
dgt, this all looks fine. Do you have an demo page that shows the
I have the same Problem to The Plugin loads the file succesfully
to the server. I can trac it with the php modul upload progress to.
But it doesent appear in $_FILES. All other form fields are listet in
$_POST corectly.
Best regards
Mike
On 17 Okt., 04:08, Mike Alsup [EMAIL PROTECTED]
How large is the file you're uploading? Maybe you're exceeding the
limits of your php config. Here's a demo page that shows a vardump of
the $_FILES object:
http://www.malsup.com/jquery/form/file/test.php
Mike
On 10/18/07, micha149 [EMAIL PROTECTED] wrote:
I have the same Problem to
On Oct 18, 2:06 pm, micha149 [EMAIL PROTECTED] wrote:
I have the same Problem to The Plugin loads the file succesfully
to the server. I can trac it with the php modul upload progress to.
But it doesent appear in $_FILES. All other form fields are listet in
$_POST corectly.
Hi Michael,
Giovanni,
The form plugin offers no support for tracking upload progress. But
Alexandre has a file upload plugin that uses flash to provides this
capability:
http://www.pixeline.be/experiments/jqUploader/
Mike
On 10/18/07, Giovanni Battista Lenoci [EMAIL PROTECTED] wrote:
On Oct 18, 2:06
Small files big files... all the same problem. This files works with
your postet test-script.
Can you post the code?! Or zip it? PHP and HTML...
maybe some necessary hiddens?
In my last trials the firefox console didn't list the post event???
normal???
Thank you
On 18 Okt., 14:42, Mike
Small files big files... all the same problem. This files works with
your postet test-script.
Can you post the code?
You can view source to see the test page (there is no PHP in it even
though it's named test.php).
The form action points to this file:
?php
echo 'VAR DUMP $_POST:p /';
Hi mike thank for your answer... now I'm still tryng to make it work
with the progress bar... I think I'm really near to the solution, but
I need your help...
The code from I'm ispiring is this one:
http://progphp.com/progress.phps
In this code (that use yui) the function that submit the form
What I think I need is to call this function when the submit is
invoked, but before success methods of your plugin. There's a way I
can achieve it?
No, I don't think so. The submit-toIFrame approach relies on calling
the form element's submit method which is a blocking call.
Mike
I think it must work. Bu i'n not an yui man. I make it with jQuery:
$(document).ready( function() {
// define the check progress function
var getProgress = function() {
$.ajax({
type: GET,
url: document.URL + getUniqueID(), //
@ mike alsup:
I thought you do something special in php... i try your script on my
devserver...
best regards,
mike
On 18 Okt., 17:20, Giovanni Battista Lenoci [EMAIL PROTECTED] wrote:
Hi mike thank for your answer... now I'm still tryng to make it work
with the progress bar... I think I'm
Hi dgt,
I think the problem is the following:
ajaxForm uses Ajax to send the data (XMLHttpRequest), but XMLHttp does
NOT support file uploading, so the way to send a file (image or
whatever) is to use an iframe. You can manipulate the iframe with
javascript by copying the input type=file/
Emil Ivanov ha scritto:
Hi dgt,
I think the problem is the following:
ajaxForm uses Ajax to send the data (XMLHttpRequest), but XMLHttp does
NOT support file uploading, so the way to send a file (image or
whatever) is to use an iframe. You can manipulate the iframe with
javascript by copying
@Email: The form plugin handles file uploads just fine (using an IFrame).
@dgt: Can you post a simplified sample page?
ajaxForm uses Ajax to send the data (XMLHttpRequest), but XMLHttp does
NOT support file uploading, so the way to send a file (image or
whatever) is to use an iframe.
Hello Giovanni, Emil, and Mike. Thanks for the time you have given
with this. Also Mark thankyou for the time you've spent creating the
Forms Plugin, very much appreciated.
Mark, A simplified version of the page looks like this (not the best,
I've removed the jQuery + Form Plugin includes, but
dgt, this all looks fine. Do you have an demo page that shows the
problem in action?
script type=text/javascript
$(document).ready(init);
function init(){
$(#addImage).ajaxForm(function(){alert(Submit Success);});
}
/script
form action = node/add/image method=post id =
Merc,
You might want to look at the work being done on what's called the AHAH
framework for Drupal. The guy working on that is doing a lot of thinking
about how to correctly integrate jQuery and Drupal's FormAPI in a clean,
safe, degradable fashion. The widget you describe is essentially a
21 matches
Mail list logo