June 2011
3 posts
2 tags
PHP: Database Manager
interface DataBaseManager{ public function connect(); public function shutdown(); } class DatabaseCommon{ public function common_function_call(){ print "Function common to mySql and Oracle ..."; } } class mySql extends DatabaseCommon implements DataBaseManager{ public function connect(){ print "Connection mySql is establish ..."; } public function shutdown(){ print "Connection to...
Jun 28th
2 notes
The 100 Rules For Being An Entrepreneur →
Jun 2nd
How to install PHP5 and Apache on Ubuntu
How to install PHP5 and Apache on Ubuntu In your command shell, you will run the following commands: $ sudo apt-get install apache2 $ sudo apt-get install php5 $ sudo /etc/init.d/apache2 restart Thats all. In case, you encountered an error like this “Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName..” after restarting the...
Jun 2nd
2 notes