Why did you decide not to use virtual? The readfile() method you are
using turns PHP into the browser and it makes a completely new request to
your web server.
-Rasmus
On Sat, 13 Jan 2001, Scott Brown wrote:
> Ok - I thought I saw that it could be done, so I tried it... and I almost
> got it working.
>
> But rather than one simple layer, I've got SHTML that calls other SHTML and
> so on.... it made changes really simple until now ;-)
>
> So anyways, rather than use <? virtual(....) ?> I've replaced my
>
> <!--#include virtual="...." -->
>
> with
>
> <? readfile("http://.....") -->
>
> and renamed the page to .php, and it works - EXCEPT.....
>
> The processing of the readfile does NOT pass through sufficient information
> for a browser determination against the HTTP_USER_AGENT variable.
>
> Everything I'm receiving is from the "else side" of the
>
> <!--#if expr="\"$HTTP_USER_AGENT\" = /.*MSIE.*/" -->
> ie specific
> <!--#else -->
> netscrap specific
> <!--#endif -->
>
> Is this a known bug in PHP3(.0.15) thats fixed in PHP4, or have I stepped in
> it again?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]