Reply to Re: Passing file name through AJAX query to the class

Re: Passing file name through AJAX query to the class new!
by Jukka Hurtta, 5 years, 10 months ago
On my Ajax query the line

$filename = $_FILES['file']['name'];
echo "FILENAME : ". $filename;

Actually returns the correct filename.

So instead of tryin XMLHttpRequest (that I have not managed to get working), could I just use command like:

$handle->file_dst_name_body = 'test';

Which the upload class seems to ignore.Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important