PHP
  Home arrow PHP arrow Page 4 - Clicking Through: A phpBanner Primer
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
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

Clicking Through: A phpBanner Primer
By: Melonfire
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 16
    2004-04-21


    Table of Contents:
  • Clicking Through: A phpBanner Primer
  • Start Me Up
  • Client Server
  • Of Pictures and Words
  • Hits And Misses
  • Hooking Up
  • Different Strokes
  • Clicking Through

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log 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


    Clicking Through: A phpBanner Primer - Of Pictures and Words
    ( Page 4 of 8 )

    Once a client account has been activated, he or she can easily access the application and modify both user profile and password using the "My Profile" and "Password" options that appear in the menu. However, clients will usually be more interested in the "Image" and "Create" menu options, as these are probably the only ones that they will use on a regular basis. But before I get into the nitty-gritty of these features, a quick explanation of how the system functions.

    The process of adding a new banner to the site is fairly well defined, and it looks like this:

    Step 1: The client uploads an image to the server.

    Step 2: Next, he or she create a banner and associates any one of the images previously uploaded with the new banner.

    Step 3: The administrator "enables" the banner, and also defines hits, clicks and keywords for the banner (more on this later).

    Begin by selecting the "Image" link and logging in. You should now see something like this:

    phpBanner

    As you can see, this screen has it all: you can view a list of existing images, upload a new image, and delete existing images.

    When you upload an image, it is always placed in the directory specially created for the client. If you want a quick preview, simply click the corresponding file name in the listing above and you'll be able to see what you just uploaded.

    Right, now that the image has been uploaded, the next step is to create a banner associated with it. Click the "Create" menu item and log in again to see this:

    phpBanner

    If I can take a minute out to gripe here: one strange and unnerving feature of this application is the lack of session-based user authentication. This means that every action has to be validated with a password, over and over again, an extremely irritating problem that can easily be rectified by adding PHP session support to the code. Hopefully, this will be fixed in future versions of the application.

    Once again, this easy-to-use screen has it all: the list of uploaded images in a neat little drop-down box, a text box to enter the URL that the banner points to, another text box to enter an image label (useful for text-only browsers and Web spiders). The client can add as many banners as needed -- using the same image also if required -- for different URLs.



     
     
    >>> More PHP Articles          >>> More By Harish Kamath, (c) Melonfire
     

       

    PHP ARTICLES

    - Using Directory Iterators to Build Loader Ap...
    - Using the spl_autoload() Functions to Build ...
    - Working Out of the Object Context to Build L...
    - Using the _autoload() Magic Function to Buil...
    - The Destruct Magic Function in PHP 5
    - The Autoload Magic Function in PHP 5
    - Developing a Recursive Loading Class for Loa...
    - The Sleep and Wakeup Magic Functions in PHP 5
    - Using the Clone Magic Function in PHP 5
    - Including Files Recursively with Loader Appl...
    - The Call Magic Function in PHP 5
    - Designing a Captcha System with PHP and MySQL
    - Using Static Methods to Build Loader Apps in...
    - The Isset and Unset Magic Functions in PHP 5
    - Advanced PHP Form Input Validation to Check ...





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