HTML
  Home arrow HTML arrow Page 5 - Fast FAQ Session with ACP
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
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? 
HTML

Fast FAQ Session with ACP
By: Chrysanthus Forcha
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2009-06-08

    Table of Contents:
  • Fast FAQ Session with ACP
  • Our Project
  • Summary of FAQ Page Features
  • The Code
  • The Second Page

  • 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


    Fast FAQ Session with ACP - The Second Page


    (Page 5 of 5 )

    At the server, the second page is in the form of a string in a Perl file in the cgi-bin directory. This is the code skeleton of the file:

    $returnStr = qq{

    # An HTML page code is here.

    };

     

    print $returnStr;

    There are two Perl statements here. The first one is the declaration of the $returnStr variable. The string, which is the content (HTML code) of the second page at the browser, is assigned to this variable. The next Perl statement returns the string when this file is called. The HTML code in the string begins from the <html> start tag to the </html> end tag. The code is similar to that of the first page. The name of the file for the second page is pge1faqStr.pl.

    The Third Page

    At the server, the third page is in the form of a string in a Perl file in the cgi-bin directory. The code is almost the same as that of the first page. The name of the file for the third page is pge2faqStr.pl.

    There are three files for the project. I put all the files into one zip file. You can download the zip file from:

    faqacp.ZIP

    Download the file and experiment with it.

    The Project and Browsers

    All the code worked well with Internet Explorer 6 and Opera 9. It worked reasonably with Mozilla Firefox 2.

    I hope this article has been useful.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

     

    HTML ARTICLES

    - Comparing Browser Response to Active Client ...
    - Testing Browser Response to Active Client Pa...
    - Active Client Pages: Completing the Code for...
    - ACP and Browsers: Setting up an Example
    - How Browsers Respond to Active Client Pages
    - Completing a Tree with Active Client Pages
    - HTML Form Verification and ACP
    - Building an ACP Tree
    - Completing an ACP 3D HTML Table Image Gallery
    - Building an ACP 3D HTML Table Image Gallery
    - A Multiple Page Image Gallery with Active Cl...
    - Building an Image Gallery with Active Client...
    - Concluding a Menu for All Browsers
    - A Vertical Menu for All Browsers
    - Downloading Long HTML Pages with ACP







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek