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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to