Re: Displaying files
| From: | Thiago H. Pojda | Date: | Fri, 15 Aug 2008 13:14:00 +0000 |
| Subject: | Re: Displaying files | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general php.general |
| Request: | Send a blank email to php-general+get-278130@lists.php.net to get a copy of this message | ||
On 8/15/08, Dan Shirah <mrsquash2@gmail.com> 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?
>
I'm not sure I understand this... Can you provide some new code? :)
--
Thiago Henrique Pojda