Re: Displaying files
| From: | Stut | Date: | Fri, 15 Aug 2008 13:12:43 +0000 |
| Subject: | Re: Displaying files | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-278127@lists.php.net to get a copy of this message | ||
On 15 Aug 2008, at 14:07, Dan Shirah wrote:
Okay, I'm perplexed! If I put the exact same value into a javascript function and open a window the document comes up perfectly fine. But, when trying to readfile() copy() or fopen() in PHP I get the "failed to open stream:" error. Any idea why the exact same link would open fine using a HTML link or a javascript function, but will not work using PHP?Because as I mentioned before PHP runs as a different user to your browser. -Stut -- http://stut.net/