JR yes thats another way of doing it, however if I got it right using "\"" should pass a single " to the system.
That said your way works, my ide might need updating.
doug I'm not familiar with curl, I have written some simple javascript, and I thought that it was still downloaded as text before it was compiled & executed, maybe i'm wrong, i'm new with this stuff.
Anyway I sussed it, I replaced the search function with one that just prints the downloaded data to the text terminal, guess what I got, access denied, for some reason the ssl function doesnt work on some sites, so I tried another site and this time it printed out the entire page, then when I used the find function it works perfectly.
Thanks all.