Posted by "Matt Monaco" on 11/26/05 18:33
You can use file_get_contents and use an http address as a parameter. Then
use the pearl regular expressions functions to replace <p> with the elements
you'd like.
""Shaun"" <shaunthornburgh@hotmail.com> wrote in message
news:AC.48.56276.9A458834@pb1.pair.com...
> Hi,
>
> I am trying to create my own CMS. To being with I want to let users edit
> anything within a <p> tag.
>
> I want to have a menu to the left and display the webpage in the rest of
> the page, and for each set of <p> tags I want the user to be able to click
> on the link to edit that paragraph.
>
> My problem is how can I include a webpage in my CMS and for each <p> tag
> wrap an <a href""> tag araound it?
>
> Thanks for your advice.
Navigation:
[Reply to this message]
|