PHP
  Home arrow PHP arrow Page 2 - Nuking The Competition
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Sun Developer Network 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Mobile Linux 
App Generation ROI 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
PHP

Nuking The Competition
By: icarus, (c) Melonfire
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2001-06-06

    Table of Contents:
  • Nuking The Competition
  • Getting Started
  • Building Blocks
  • Managing Things
  • All Wired Up
  • Doing The Funky Chameleon
  • Commercial Break
  • Conclusions

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Nuking The Competition - Getting Started


    (Page 2 of 8 )

    The first order of business is - obviously - to download and install PHP-Nuke. You can download a copy from http://www.phpnuke.org/, the official site; since this site itself runs on PHP-Nuke, this is also an opportunity to see the features available first-hand. A couple of different versions are available - I'll be using version 4.4.1a throughout this article, although you should also take a look at version 5.0 (in beta at the time of writing).

    PHP-Nuke requires a Web server running PHP, and a mySQL database server; I've tested it on both Windows and Linux, and it works fine on both operating systems. If you've got these pre-requisites, unpack the distribution into a directory off your Web server root (say, "/nuke/"), and create a new mySQL database to hold your PHP-Nuke data (say, "nuke").

    mysql> CREATE DATABASE nuke; Query OK, 1 row affected (0.00 sec)
    Once the database has been created, you can import the default database schema from the included SQL file, "nuke.sql".

    $ mysql -D nuke -u root -p < nuke.sql
    Next, you need to update the system configuration to reflect the database, username and password. These variables can be found in the "config.php" global configuration file in PHP-Nuke's "html/" directory; update them to reflect your system configuration.

    $dbhost = "localhost"; $dbuname = "root"; $dbpass = "hf843i2"; $dbname = "nuke";
    You may also have to specify a "theme" for PHP-Nuke (more on this later). The default theme is OpenMind, but if your distribution of PHP-Nuke doesn't include this theme (mine didn't), peek in the "themes/" directory, pick a theme and let "config.php" know.

    $Default_Theme = "Sunset";
    At this point, the system is ready to go - point your browser to the location where you installed the files (say, "http://localhost/nuke/html/"), and you should see something like this.



    This is the default configuration and layout - but it's by no means cast in stone. PHP-Nuke offers extensive customization options, allowing you to alter every aspect of the default GUI. In order to illustrate, point your browser to the administration section (say, "http://localhost/nuke/html/admin.php") and log in as user "God", password "Password".

    This article copyright Melonfire 2001. All rights reserved.

    More PHP Articles
    More By icarus, (c) Melonfire


     

       

    PHP ARTICLES

    - Working With Different Namespaces in PHP 5
    - User Management Explained: Overview
    - Using Namespaces in PHP 5
    - Database Security: Guarding Against SQL Inje...
    - Building a Modular Exception Class in PHP 5
    - Database and Password Security for Web Appli...
    - Handling MySQL Data Set Failures in PHP 5
    - Building Site Registration for Web Applicati...
    - Intercepting Customized Exceptions in PHP 5
    - Securing Your Web Application Against Attacks
    - Sub Classing Exceptions in PHP 5
    - Authentication for Web Application Security
    - Building a Content Management System with Co...
    - Filters and Login Systems for Web Applicatio...
    - Working with the Email Class in Code Igniter





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
    Stay green...Green IT