Hi all,
I'm stuck with some php code that runs out of time limit. This is due to a
long XML file process that has to save pictures on the disk.
What I've now:
- read XML file
- parse XML file
- for every article
- save datas in Database
- save pictures on harddisk
- save path on hardisk
delete XML file
What I'd like to do:
- read XML file
- parse XML file
- for every article
- save datas in Database
- call the savepictures script with images as param
delete XML file
the savepictures scipt:
- save pictures on harddisk
- save path on hardisk
- close itself
My question are:
1- it is possible to call such "savepictures" script using javascript (I
can't use Exec on my ISP).
2- if yes, how can I give the images as parameters ? They are actually
base64 encoded in an array and I save them using
fwrite($imgfile,base64_decode($picarray[$I]));
3- will this be a "blocking" process (the script must wait the new window to
open in order to continue running)
Thanks for help.
Bob