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.
February 28th, 2006 at 6:13 pm
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
March 6th, 2006 at 2:54 pm
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.
March 7th, 2006 at 4:11 pm
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
March 7th, 2006 at 5:35 pm
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