Frames alternative?

Frames alternative?

am 20.08.2007 12:08:17 von UKuser

Is there a way that I can load a page within a page and still have
cookies/javascript etc working?

This is my code thus far:

PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">




title="Main style" />
title="Main style" />
Website








style="color:white;font-size:14pt">Return to our website




" style="color:white">Remove
Frame









$content = file_get_contents("http://$site"); // where site is a
www.anyname.com

echo $content;
?>

This will load the page, but as text and/or disable any cookies or
javascript and thus showing the user any external error pages asking
for cookies to be enabled.

I've tried standard iframes and frames but in IE these have cookies/
javascript disabled. I'm trying to find a PHP 100% equivilent to
frames.

Thanks

A

Re: Frames alternative?

am 20.08.2007 12:10:38 von UKuser

On 20 Aug, 11:08, UKuser wrote:
> Is there a way that I can load a page within a page and still have
> cookies/javascript etc working?
>
> This is my code thus far:
>
> > PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>
>
>
>
> > title="Main style" />
> > title="Main style" />
> Website
>
>
>
>


>


>
>
>


> > style="color:white;font-size:14pt">Return to our website
>


>
>
> " style="color:white">Remove
> Frame

>

>


>

>
>

>

>
>
> > $content = file_get_contents("http://$site"); // where site is awww.anyname.com
>
> echo $content;
> ?>
>
> This will load the page, but as text and/or disable any cookies or
> javascript and thus showing the user any external error pages asking
> for cookies to be enabled.
>
> I've tried standard iframes and frames but in IE these have cookies/
> javascript disabled. I'm trying to find a PHP 100% equivilent to
> frames.
>
> Thanks
>
> A

Sorry - just to add - this code loads javascript/cookies but not
images? Apologies - I've been trying quite a few alternatives.

Re: Frames alternative?

am 20.08.2007 14:13:10 von Jerry Stuckle

UKuser wrote:
> Is there a way that I can load a page within a page and still have
> cookies/javascript etc working?
>
> This is my code thus far:
>
> > PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>
>
>
>
> > title="Main style" />
> > title="Main style" />
> Website
>
>
>
>


>


>
>
>


> > style="color:white;font-size:14pt">Return to our website
>


>
>
> " style="color:white">Remove
> Frame

>

>


>

>
>

>

>
>
> > $content = file_get_contents("http://$site"); // where site is a
> www.anyname.com
>
> echo $content;
> ?>
>
> This will load the page, but as text and/or disable any cookies or
> javascript and thus showing the user any external error pages asking
> for cookies to be enabled.
>
> I've tried standard iframes and frames but in IE these have cookies/
> javascript disabled. I'm trying to find a PHP 100% equivilent to
> frames.
>
> Thanks
>
> A
>

Try alt.html. This has nothing to do with PHP.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================