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?
Looking for a solution to include external pages in my CMS
Moderator: General Moderators
- scorphus
- Forum Regular
- Posts: 589
- Joined: Fri May 09, 2003 11:53 pm
- Location: Belo Horizonte, Brazil
- Contact:
You could try to set an <iframe> to show the user's page content. Then dynamically set the source:
Hope it helps. Regards,
Scorphus.
Code: Select all
<iframe src="<?=$userData["webPageUrl"];?>" width="250" height="250"></iframe>Scorphus.
Excellent!
Thats works perfect Scorphus.
Thanks mucho.
I am sure I can work around the dimension issues.
Thanks mucho.
I am sure I can work around the dimension issues.