Add logic to a web page?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • parris
    First Sergeant

    • Nov 2005
    • 71

    Add logic to a web page?

    Is there a way to add logic to a web page.
    For example, pseudo-code for this:
    1. Test for the existence of a text document (locally or on the FTP area).
    2. If the document does not exist do nothing
    3. If it exists, read the contents and display the text.
    Parris
    www.polkcountybikeclug.org

  • Vasili
    Moderator

    • Mar 2006
    • 14683

    #2
    Re: Add logic to a web page?

    Originally posted by parris View Post
    Is there a way to add logic to a web page.
    For example, pseudo-code for this:
    1. Test for the existence of a text document (locally or on the FTP area).
    2. If the document does not exist do nothing
    3. If it exists, read the contents and display the text.
    It's called "Search" and it's what the Search Engines do, and is based upon whatever "logical" Relevance you have created yourself on your website and pages using Content composition, Basic Optimization, and Site Construct Standards compliance.

    To ADD the useful Search function (as a tool) to your webpage, do a Google Search for "how to add Google Search to webpage" for the precise method of adding this construct for the convenience of your Visitors.
    . VodaWebs....Luxury Group
    * Success Is Potential Realized *

    Comment

    • parris
      First Sergeant

      • Nov 2005
      • 71

      #3
      Web page logic (beating a dead horse)

      Vasili answered my question (and I thank your for that). Suggested using Google search.
      Let me ask if this is possible (don't smack me, please
      1. User does a login/pwd to a page I create.
      2. User enters some text.
      3. The text gets stored in a MySQL database.
      4. Logic on Main page sees the database entry.
      5. Issues SELECT to get the entry.
      6. Displays the text on the main screen.
      Is this possible?
      Parris
      www.polkcountybikeclug.org

      Comment

      • Vasili
        Moderator

        • Mar 2006
        • 14683

        #4
        Re: Web page logic (beating a dead horse)

        Originally posted by parris View Post
        Is this possible?
        No.

        What you are "describing" is a Database Querry, and again, as described, this would require extensive programming to develop as a User-interfaced data stream ....
        . VodaWebs....Luxury Group
        * Success Is Potential Realized *

        Comment

        Working...
        X