Reply to Re: Adding links to HTML for a CMS

Your name:

Reply:


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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация