Hello AL,
I'm no expert, but could the problem be the missing double-quotes?
I thought a call to include() or require() would necessitate the name of the file to be included inside quotes. You would have to use double quotes as you're already using quite a few single ones.
If its still not working, why don't you try to assign the path to the protected file to a variable first, and then use that variable inside the include function?
ie:
$to_be_included = "http://".$u.":".$p."@cp.logicimage.com";
include ("$to_be_included");
I hope this works,
Denis 🙂