Re: Adding links to HTML for a CMS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx> wrote in message 
news:AC.48.56276.9A458834@xxxxxxxxxxxxxxx
> 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. 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux