Thank you, that's very helpful.
Could you please explain how I can assign source code of a page into the variable?
Basically users of my website will embed a small piece of code into their website which will contain a random string which will identify the website to me. This code needs to search their page for the string and confirm for me the code has been added.
Thanks for your help.