What is PEAR in PHP?
Answers were Sorted based on User's Feedback
Answer / nikunj
PEAR means PHP Extenction and Application Repository. This
is a collection of different classes. These are used for
advance scripting. For ex: Database,Mail,HTTP etc.
| Is This Answer Correct ? | 15 Yes | 4 No |
Answer / rakesh kumar nautiyal
PEAR stands for PHP Extension And Repository. This is
advancement of the PHP scripts. In which we can develop
more advance features of PHP scripting langauge.
| Is This Answer Correct ? | 6 Yes | 5 No |
Answer / raja revathi
PEAR is the next revolution in PHP this respository is
brnging higher level programing to php.
PEAR also provide a command-line interface that can be used
to automatically install "packages"
| Is This Answer Correct ? | 0 Yes | 0 No |
What is php static function?
What are the methods to submit form in php?
How does integrate SSL certificate in websites and also how to generate CSR in Local machines? plese give some ideas ASAP.....
Tell me how can I display text with a php script?
Is runtime polymorphism overriding?
Is php session id unique?
What is the difference between using copy() and move() function in PHP file uploading?
How are Variables Defined in PHP?
What is use of htmlspecialchars php?
What is difference between rest and http?
Differentiate between php5 and php7?
<?php /** * @version 1.0 $ * @package HelloWorld * @copyright (C) 2005 Andrew Eddie * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL */ /** ensure this file is being included by a parent file */ defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?> <?php $database =& JFactory::getDBO(); //$sql = 'SELECT name, username FROM #__users'; $sql="select a.id, a.title, a.introtext, a.created_by, a.created from jos_content a, jos_content_frontpage b where a.id=b.content_id and b.ordering='2'"; $database->setQuery( $sql ); $user = NULL; $user = $database->loadObject(); //echo 'Name: ' . $user->name . '<br />'; echo '<h1>' . $user->title . '</h1><br />'; //echo 'Username: ' . $user->username; echo ' ' . $user->introtext; i write this and fetch the result from the database the result is The Intranet is up and working ! Our intranet is up and working and should be accessible from both Mumbai and NOIDA. As you will notice, this template, look & feel is not in line with our corporate indentity but we chose the route of "form-follows-funtion" In the first phase, we are rolling out functionality that is critical to all of us - Policies and How-to documents. In subsequent phases, we will be launching other features. Keep watching this space for more details i want to see only 4 line of top then how this may done