<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Thu May 23, 2013 6:09 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Thu May 23, 2013 6:09 pm</pubDate>
  <lastBuildDate>Thu May 23, 2013 6:09 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Answers</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=3038#3038</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=1454'&gt;kpzani&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Jun 09, 2005 9:58 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      First thing&lt;br /&gt;
&lt;br /&gt;
you can convert enters in a text field to &amp;lt;br&amp;gt;s with nl2br($_POST[&quot;textfield&quot;]);&lt;br /&gt;
&lt;br /&gt;
next.  addslashes will escape any funny quotes either &quot; or ' in the text&lt;br /&gt;
&lt;br /&gt;
htmlspecialchars will convert &amp;amp; to &amp;amp;amp; and &quot; to &amp;amp;quot; etc.&lt;br /&gt;
&lt;br /&gt;
for the gui editor you can build your own there's info on the mozilla site&lt;br /&gt;
&lt;a href=&quot;http://devedge-temp.mozilla.org/viewsource/2003/midas/01/index_en.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://devedge-temp.mozilla.org/viewsource/2003/midas/01/index_en.html&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.mozilla.org/editor/midas-spec.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.mozilla.org/editor/midas-spec.html&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.mozilla.org/editor/midasdemo/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.mozilla.org/editor/midasdemo/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
if you are going to be using php then you are welcome to the source code from my internal CMS, if you're interested email me &lt;a href=&quot;mailto:kriszani@iscavision.com&quot;&gt;kriszani@iscavision.com&lt;/a&gt;&lt;br /&gt;
and i'll give you the url plus a temp username / password for a demo, if you like it then i'll make a copy minus usernames and passwords.&lt;br /&gt;
&lt;br /&gt;
good luck&lt;br /&gt;
&lt;br /&gt;
Kris</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=3038#3038</comments>
                                        <author>kpzani</author>
                                        <pubDate>Thu Jun 09, 2005 9:58 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=3038#3038</guid>
                                      </item>
                                      <item>
                                        <title>RE: PHP &amp;amp; MySQL Web Development</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=1991#1991</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=337'&gt;gizard&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed May 18, 2005 5:36 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      with most thing, they take a while to code. Think about creating an object that gets passed a string and replaces \r with &amp;lt;br /&amp;gt;&lt;br /&gt;
Also have a look at: &lt;a href=&quot;http://www.fckeditor.net/demo/default.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.fckeditor.net/demo/default.html&lt;/a&gt;&lt;br /&gt;
and &lt;a href=&quot;http://www.blackboard.com/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.blackboard.com/&lt;/a&gt; to get a look at whats possible.&lt;br /&gt;
&lt;br /&gt;
You can also simply enter the data into a database and print out to the right sections. I.e. Header, body.&lt;br /&gt;
and in the body, insert the &amp;lt;pre&amp;gt; &amp;lt;/pre&amp;gt; tags. Ugly but works if your after a simple solution.&lt;br /&gt;
Gizard&lt;br /&gt;
&lt;a href=&quot;http://www.gbdesign.net/index.php?page=erp&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;http://www.gbdesign.net/index.php?page=erp&lt;/a&gt; GBDesign - Data driven ERP web solutions for SME</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=1991#1991</comments>
                                        <author>gizard</author>
                                        <pubDate>Wed May 18, 2005 5:36 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=1991#1991</guid>
                                      </item>
                                      <item>
                                        <title>RE: PHP &amp;amp; MySQL Web Development</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=1901#1901</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=115'&gt;Gordon&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon May 16, 2005 8:57 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Hi Skecs, neat sig  &lt;img src=&quot;images/smiles/icon_eek.gif&quot; alt=&quot;Shocked&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=1901#1901</comments>
                                        <author>Gordon</author>
                                        <pubDate>Mon May 16, 2005 8:57 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=1901#1901</guid>
                                      </item>
                                      <item>
                                        <title>RE: PHP &amp;amp; MySQL Web Development</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=1886#1886</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=297'&gt;grogoreo&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon May 16, 2005 4:44 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Thanks skecs. I'll look into getting that book. I didn't want to use a CMS allready made as with a bespoken one I will learn on the way and also I've found that the design of the page is hindered and can not be what I really like, as you have to use a template or something.&lt;br /&gt;
&lt;br /&gt;
Thanks again,&lt;br /&gt;
Greg</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=1886#1886</comments>
                                        <author>grogoreo</author>
                                        <pubDate>Mon May 16, 2005 4:44 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=1886#1886</guid>
                                      </item>
                                      <item>
                                        <title>PHP &amp;amp; MySQL Web Development</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=1801#1801</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=515'&gt;skecs&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sun May 15, 2005 9:13 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      The best book I know on this is PHP &amp;amp; MySQL Web Development by Luke Welling &amp;amp; Laura Thomson - I think it is up to 3rd Edition now. I have used the forums and other sections and they all work quite well.&lt;br /&gt;
&lt;br /&gt;
Capter 26 (in 2nd Edition) is called &quot;Building a Content Management System&quot; which should make it easy for you. &lt;br /&gt;
&lt;br /&gt;
Have you also considered using one of the Open Source CMS like Mambo, phpWebSite or PostNuke like the LXF web site?</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=1801#1801</comments>
                                        <author>skecs</author>
                                        <pubDate>Sun May 15, 2005 9:13 am</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=1801#1801</guid>
                                      </item>
                                      <item>
                                        <title>forms and PHP</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=1785#1785</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=297'&gt;grogoreo&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sat May 14, 2005 4:27 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      hi&lt;br /&gt;
&lt;br /&gt;
I'm trying to make a sort of CMS for a site, in PHP, and am working on the backend. What I want is when a user goes to edit or create a new item, such as a news item, they will not have to code any HTML, or not a lot. What I'm thinking of is something like this forums post submitting form. One of the main things I want is when a carrage return is entered in the form, it will add one in the submitted HTML code. I looked at the source of the phpBB forum and found a bit where I think may do it, something like stripslashes. The text will then be entered into a MySQL database.&lt;br /&gt;
&lt;br /&gt;
I would love a Rich Edit type form like you would in Word or Hotmail etc but that may be a bit much.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Greg</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=1785#1785</comments>
                                        <author>grogoreo</author>
                                        <pubDate>Sat May 14, 2005 4:27 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=1785#1785</guid>
                                      </item></channel></rss>