Including a script over HTTP is almost always the wrong thing. If you include a file using URL wrappers, the script will fetch the page using HTTP, which means it gets the processed output of the included page. If the included page printed a PHP script, this would probably work, but...