Jan 19

Recently I’ve been working on porting my WebTester project from ASP to PHP. While doing this I have also been adding new features and fixing bugs as I come across them. New items include:

  • Ability to randomize questions
  • Integrated HTML Editor (no more manual coding)
  • ‘Enter’ key selects Next instead of Previous
  • Ported from ASP to PHP (so it can be hosted on a Mac/Linux/Windows box, instead of limited to Windows/IIS)
  • Each admin user will only see tests created by that user (except for a super-admin)

It should be finished soon and will be used by Delta County Schools.

written by eppler

4 Responses to “WebTester”

  1. Chandra Says:

    Hello Steven

    Am a php web tested. I found your blog very interesting. I am trying to do something like this for a long time…….can you tell how far are you down the php porting…

    Regards

    Chandra

  2. eppler Says:

    I have finished with the port. It took a while, and the most common problem was the old ASP code wasn’t case sensitive, while PHP is. I am now working on a install script for WebTester so it can be installed easily.

  3. Chandra Says:

    Hi Eppler.

    Glad you got it working! Any thought about making it opensource?:)

    But that a very good you brought up. Case Sensitive part, could provide any example?

    Go developers:)

    Chandra

  4. eppler Says:

    Currently I have no plans on making it open source, but you can see a demo at http://webtester.epplersoft.com. This is not the final so there may be some bugs, but it works.

    As for the case sensitive part, here is an example. First, here’s the form’s text field input. Notice that “name” is lowercase:

    input type=”text” name=”name”

    ASP:

    var = Request.Form(“Name”) ‘var = Whatever is posted
    var = Request.Form(“name”) ‘var = Whatever is posted

    In PHP, the variable ‘$var’ wouldn’t get set to the correct value if you weren’t careful:

    PHP

    $var = $_POST['Name']; // $var = nothing
    $var = $_POST['name']; // $var = Whatever is posted

    Hope that clears things up. Thanks,

    Steven

Leave a Reply