Hi, I've test my script on the PC and quite happy with it. I've then loaded it to my own hosting server and found these two issues:
1. Trying to submit data back to my own server. Probably not a big deal but I'll share my experience here.
(i) ftp gave me this error http://www.millisecond.com/forums/Topic760.aspx#760 even when I used subdirectory.
(ii) http gave me another similar error
(iii) when tested with Firefox on a Mac a blank screen took out the whole page and there's no way to close it.
(iv) with (i) & (ii) on Windows 7 / IE it forced me to save the data locally before giving me those errors.
In the end I just use the default option, which is to save my data on the millisecond server. So, if there's no solution to the reported issues I'm okay.
2. I have multiple sound stimuli and have tested my replace logic extensively. I have 5 folders, and all of them contain 3 different audio files. That is, I have a total of 15 files stored in 5 different folders. The file names are identical in all 5 folders, and I'm guessing this is the issue. When played from the web, files from the first folder were always played - BUT when I look into the response data, it was reported that files from different folders were used instead. To better illustrate this, here's my items:
<item trivias>
/1 = "ma_f1/fi01.mp3"
/2 = "br_m2/fi01.mp3"
/3 = "au_f1/fi01.mp3"
/4 = "au_f2/fi01.mp3"
/5 = "au_m2/fi01.mp3"
/6 = "ma_f1/fi02.mp3"
/7 = "br_m2/fi02.mp3"
/8 = "au_f1/fi02.mp3"
/9 = "au_f2/fi02.mp3"
/10 = "au_m2/fi02.mp3"
/11 = "ma_f1/fi03.mp3"
/12 = "br_m2/fi03.mp3"
/13 = "au_f1/fi03.mp3"
/14 = "au_f2/fi03.mp3"
/15 = "au_m2/fi03.mp3"
</item>
This is what I heard: au_m2/fi01.mp3 au_m2/fi02.mp3 au_m2/fi03.mp3
This is what the data file says:
stimulusitem1
au_m2/fi01.mp3
au_f2/fi02.mp3
br_m2/fi03.mp3
Is it a problem with reusing file names even thou they were in different folders?
Thanks in advance!!!!