How can I pass in a user/pw to an fopen() (or something similar)?
I am trying to render a dynamic db/php page into a static .html page --
or more specifically, I'm trying to email me back an html version of a
report page on remote servers. The reports are located behind an
https:// Apache user/pass authenticated directory.
I tried:
$file =
fopen("https://username:[EMAIL PROTECTED]/admin/report.php","r")
;
If I try to do something like:
$file = fopen("/www/htdocs/admin/report.php","r");
But then the PHP isn't executed, it just dumps me the straight source
code.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php