Page 1 of 1

Looking for a solution to include external pages in my CMS

Posted: Fri May 23, 2003 12:34 am
by Zewt
I want to give users the ability to submit a link to their html pages, which could then be included in my Content Management System. The idea is to have their content show up as html inside the master page, same as an include would work.

I tried using Include(); but cannot seem to get it to work properly, and am not sure of it's security.

Does anyone have any tips on how to go about something like this?

Posted: Fri May 23, 2003 12:49 am
by scorphus
You could try to set an <iframe> to show the user's page content. Then dynamically set the source:

Code: Select all

<iframe src="<?=$userData["webPageUrl"];?>" width="250" height="250"></iframe>
Hope it helps. Regards,
Scorphus.

Excellent!

Posted: Fri May 23, 2003 6:56 pm
by Zewt
Thats works perfect Scorphus.

Thanks mucho.

I am sure I can work around the dimension issues. :D