hi all,
i dont know if my problem is based on javascript or PHP but i think its php. it can also be a buffer problem.
while reading a file, i've encountered a strange problem. what i do is reading the file. the file is formatted like this:
URL;;;URL;;;TYP E;;;URL;;;NAME; ;;NAME;;;DATA;; ;DATA
after reading the file i'm putting it into a javascript array using string.split("; ;;")
normally there is no problem. but when there is a space in the url's (and in the url of the filepath), there appears to be a problem. in FF there is no problem, but in IE (yep it's IE again :) ) it returns a string like this:
URL;;;URL;;;URL ;;;DATA;;;DATA
which was the format of the file when i first created it. but i checked and it isn't in that format anymore. stranger is, if i change the of the file without spaces it works perfect.
can anyone tell me how i should get it working with the spaces?
i dont know if my problem is based on javascript or PHP but i think its php. it can also be a buffer problem.
while reading a file, i've encountered a strange problem. what i do is reading the file. the file is formatted like this:
URL;;;URL;;;TYP E;;;URL;;;NAME; ;;NAME;;;DATA;; ;DATA
after reading the file i'm putting it into a javascript array using string.split("; ;;")
normally there is no problem. but when there is a space in the url's (and in the url of the filepath), there appears to be a problem. in FF there is no problem, but in IE (yep it's IE again :) ) it returns a string like this:
URL;;;URL;;;URL ;;;DATA;;;DATA
which was the format of the file when i first created it. but i checked and it isn't in that format anymore. stranger is, if i change the of the file without spaces it works perfect.
can anyone tell me how i should get it working with the spaces?
Comment