Try the client side code from the demo I posted before together with the file PHP (and other) files from the tutorial. I think that the demo works fine?
Ajax upload, PHP script example
(60 posts) Great offers for webmaster, blogger and web developer!-
Posted 1 year ago #
-
Hi!
I had problems of the response because of the json library. I would advice for others having the same problem, to check php version and json. After 5.2 json is integrated, but you can install to earlier versions too.
And now other question, how could I implement button to delete uploaded image running without page refresh?
thx
Posted 1 year ago # -
The JSON function in PHP is very simple, there are alternative functions in the PHP manual for PHP versions lower than 5.2.
Please start a new thread for your new question.
Posted 1 year ago # -
nice script, works fine.
But tell me please: i want to extend this script a bit, but just adding an echo somewhere, produces problems.
I want to have the hole path of the uploaded file (got it already in a var) and want to read it then with phpExcelReader. Ive already written this XLS-Read-Script and it works, but i cant connect the upload script with my excel-read-script. if i past any code at the (i think) right position, the upload doesnt work anymore
Some Help!?
Thanks a lot
Greetz
SladdaPosted 11 months ago # -
Hi,
first of all start uploading without Ajax. the upload script works find step over to the ajax part (ajax is just some client stuff).
Please open a new thread if you need further help.
Posted 11 months ago #
Topic Closed
This topic has been closed to new replies.