Results 1 to 3 of 3

Thread: Server Side Scripting Language

  1. #1

    Thread Starter
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Server Side Scripting Language

    Howdy all,

    Since this is a broad question, I'm placing it here. I'm wondering how PHP and Perl work. I'm wanting to create a Server Side Scripting Language similar to these. I know if I had say, a .nova file. On the server, that file could be opened in my program, and my program would output the HTML...where?

    Can someone shed some light on how I would go about this?

    chem

    Visual Studio 6, Visual Studio.NET 2005, MASM

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Server Side Scripting Language

    PHP uses either an ISAPI extension or a CGI program that will parse the file run the code and output the result. An ISAPI extension is implemented as a DLL file (which of course makes it hard to create in VB). Here is an article that describes a simple ISAPI extension. A CGI program will send anything written to StdOut to the client webbrowser. Here are some information about creating CGI programs with VB.

    You need to setup your webserver to get it to use your CGI program or ISAPI extension to execute your file with your custom file extension. This page describes how you do that in IIS for the PHP CGI and ISAPI extension. You can do the same thing with your own CGI program.

  3. #3
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Server Side Scripting Language

    I think that I'm going to have to get a Web Server going. All my apprehensions should not be an issue from what I've seen. That looks very interesting.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width