Re: [PHP] Re: Best way to allow a user to indicate formatting to be displayed but stored.

2004-10-20 Thread GH
I guess this means I do not have pear... right? Warning: main(): open_basedir restriction in effect. File(/usr/share/pear/PEAR.php) is not within the allowed path(s): (/var/www/garyhotko.com) in /var/www/garyhotko.com/html/Test/test.php on line 2 Warning: main(PEAR.php): failed to open stream:

Re: [PHP] Re: Best way to allow a user to indicate formatting to be displayed but stored.

2004-10-20 Thread Greg Donald
On Wed, 20 Oct 2004 15:01:56 -0400, GH [EMAIL PROTECTED] wrote: I guess this means I do not have pear... right? You can download the PEAR files and put them most anywhere. They don't have to be in the standard location. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/

Re: [PHP] Re: Best way to allow a user to indicate formatting to be displayed but stored.

2004-10-20 Thread Marek Kilimajer
GH wrote: I guess this means I do not have pear... right? This rather means the server is not configured right. Ask your hosting company to include /usr/share/pear/ in open_basedir, I don't see any reason they shouln't. If they won't anyway install pear in your own webspace and set include_path

[PHP] Re: Best way to allow a user to indicate formatting to be displayed but stored.

2004-09-30 Thread GH
Thank you all for the information... however at a second look I realized that I failed to better describe my needs... My current plan is to have a series of articles and information stored in my database... The table will have a ID, Title, Author, Image, Content, Date/Time What I would like to

Re: [PHP] Re: Best way to allow a user to indicate formatting to be displayed but stored.

2004-09-30 Thread Marek Kilimajer
GH wrote: Thank you all for the information... however at a second look I realized that I failed to better describe my needs... My current plan is to have a series of articles and information stored in my database... The table will have a ID, Title, Author, Image, Content, Date/Time What I would

Re: [PHP] Re: Best way to allow a user to indicate formatting to be displayed but stored.

2004-09-30 Thread GH
On Thu, 30 Sep 2004 18:17:05 +0200, Marek Kilimajer [EMAIL PROTECTED] wrote: GH wrote: Thank you all for the information... however at a second look I realized that I failed to better describe my needs... My current plan is to have a series of articles and information stored in my

Re: [PHP] Re: Best way to allow a user to indicate formatting to be displayed but stored.

2004-09-30 Thread Marek Kilimajer
GH wrote: On Thu, 30 Sep 2004 18:17:05 +0200, Marek Kilimajer [EMAIL PROTECTED] wrote: GH wrote: Thank you all for the information... however at a second look I realized that I failed to better describe my needs... My current plan is to have a series of articles and information stored in my

Re: [PHP] Re: Best way to allow a user to indicate formatting to be displayed but stored.

2004-09-30 Thread Marek Kilimajer
GH wrote: Are there anyother methods besides BBCode/phpBB that one can use? Especially if I do not have pear available on my host? I'm sure there are. For example you can convert the string using htmlspecialchars, and then convert only allowed tags back: $text = htmlspecialchars($_POST['text']);