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

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

 



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 to contain the pear directory.



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: Operation not
permitted in /var/www/garyhotko.com/html/Test/test.php on line 2

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: Operation not
permitted in /var/www/garyhotko.com/html/Test/test.php on line 2

Fatal error: main(): Failed opening required 'PEAR.php'
(include_path='.:/usr/share/pear') in
/var/www/garyhotko.com/html/Test/test.php on line 2


On Thu, 30 Sep 2004 18:17:05 +0200, Marek Kilimajer <lists@xxxxxxxxxxxxx> 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 database...

The table will have a ID, Title, Author, Image, Content, Date/Time

What I would like to have is say someone needs to do a sub heading...
I would like to have it automatically be the same subheading format
for all of the content... in addition to the formatting...

The answer is CSS.


Also... I saw one refer to PEAR, since I am on a shared server is
there a way to test if pear is available... (never worked with it and
am still new to PHP sorry)

<?php require('PEAR.php'); ?>

If that does not give you error, PEAR is installed. Not necessarily all
packages.




-- 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