Rank: Newbie
Groups: Member
Joined: 10/17/2009(UTC) Posts: 7
|
Hi!
I've installed sample Php Library -> Ajax Demo. It's works fine, but I've modified the sample. When the images are uploaded in the server, the old images (uploaded before) doesn't delete and if I make click in one image, it is removed on the server and delete his element in XML file (Descriptions.xml). It's work well, but I don't know how refresh the screen. I have to close the internet browser and load the web page again for see the result.
Is there anyway to update (refresh) the screen (imageuploader). I 've searched in the manual but I don't capable to fix it.
Thank's
|
|
|
|
Rank: Advanced Member
Groups: Joined: 3/9/2008(UTC) Posts: 554
Was thanked: 1 time(s) in 1 post(s)
|
Hi, I have prepared project sample for you, see attachment. |
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 10/17/2009(UTC) Posts: 7
|
Hi Tamila! Thank's for your answer and sample. But I don't knew how resolve it. The file "upload.php" is the same than I use. And I've compared your files "index.php" and "gallery.php" of mine, and I don't see anything important diference. My sample is: http://geriatrics.brinkster.net/residencia/editar/In my tab "uploaded File" is I select the opcion "DELETE" the pic is delete in the server and descriptions.xml. I excute with ajax "script_eliminar_foto.php" to do this process .It works well. The problem is than I have to close "internet explorer" and load the url again to see the results in the screen. I think there is a method or routine to refresh the screen, but I don't know to do it. Thank's and sorry for my doubt Albert
|
|
|
|
Rank: Advanced Member
Groups: Joined: 3/9/2008(UTC) Posts: 554
Was thanked: 1 time(s) in 1 post(s)
|
Hi Albert, Please see the following sample project. Here you can find Delete functionality in Gallery. If you have any questions feel free to let us know. |
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 10/17/2009(UTC) Posts: 7
|
Hi Tamila! I saw my bug, when I modified the Ajax sample and put it in my web, I forget to copy the line: "<?php header('Cache-Control: no-cache, no-store, max-age=0, must-revalidate'); ?>" A lot hours lost, and headache for my fault. I'll have to change my googles Thank's for your help!!!
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.