Is it possible to host a page on my website, for example news.inc.php and password protect the file (using htaccess), but let people on other websites access this file as an include for example
<?php include 'http://mysite.com/news.inc.php';?>
Can I add something to the include to access the file using my htaccess username and password?
It sounds like a strange question but I basically want to be able to add a test to several peoples' websites and if I update the test in the future I want to be able to do it through this one file hosted on my site.
Thanks,
Dan
<?php include 'http://mysite.com/news.inc.php';?>
Can I add something to the include to access the file using my htaccess username and password?
It sounds like a strange question but I basically want to be able to add a test to several peoples' websites and if I update the test in the future I want to be able to do it through this one file hosted on my site.
Thanks,
Dan