Re: [PHP] include html

2010-11-02 Thread Nathan Nobbe
On Tue, Nov 2, 2010 at 12:50 AM, Karl DeSaulniers wrote: > > On Nov 2, 2010, at 12:37 AM, Nathan Nobbe wrote: > > On Mon, Nov 1, 2010 at 11:22 PM, Karl DeSaulniers >> wrote: >> I need to basically grab the source of the page as text. Then I can do a >> replace() on the tag. Then insert the text

Re: [PHP] include html

2010-11-01 Thread Karl DeSaulniers
On Nov 2, 2010, at 12:37 AM, Nathan Nobbe wrote: On Mon, Nov 1, 2010 at 11:22 PM, Karl DeSaulniers wrote: I need to basically grab the source of the page as text. Then I can do a replace() on the tag. Then insert the text into an Iframe. In theory, this I thought would be handled better

Re: [PHP] include html

2010-11-01 Thread Nathan Nobbe
On Mon, Nov 1, 2010 at 11:22 PM, Karl DeSaulniers wrote: > I need to basically grab the source of the page as text. Then I can do a > replace() on the tag. Then insert the text into an Iframe. In theory, > this I thought would be handled better server side. Is this possible? yes, there are a fe

Re: [PHP] include html

2010-11-01 Thread Karl DeSaulniers
I need to basically grab the source of the page as text. Then I can do a replace() on the tag. Then insert the text into an Iframe. In theory, this I thought would be handled better server side. Is this possible? I think the problem I'm having is that the domain I'm requesting from is not

Re: [PHP] include html

2010-11-01 Thread Nathan Nobbe
On Sunday, October 31, 2010, a...@ashleysheridan.co.uk wrote: > This can only be done with javascript, as the iframe is client-side, which > php knows nothing about. sounds to me like OP is building the page which will have the iframe in it which means this is totally doable server side. in fa

Re: [PHP] include html

2010-10-31 Thread a...@ashleysheridan.co.uk
This can only be done with javascript, as the iframe is client-side, which php knows nothing about. Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: "Karl DeSaulniers" Date: Sun, Oct 31, 2010 03:32 Subject: [PHP] include html To: "php-general"

[PHP] include html

2010-10-30 Thread Karl DeSaulniers
Hello, I am looking for a solution to inject some dynamic html into an iframe and rework the css from the results. Is there a way to do this in PHP? I am not talking about just using the src attribute of the iframe either. Basically, I want to call on a web page, grab the html code, replace