Apr 20

EM RPT Viewer Version 1.1 Update

This is just a small update to my ArmA RPT (log) viewer.

I’ve also updated the download links in the original EM RPT Viewer release post.

Change Log 1.0 -> 1.1:

  • Allowed the output text area to resize vertically as well as horizontally

Download
Download Mirror #1

Apr 14

EM RPT Viewer – Multi-platform RPT Reader – Version 1.1

I decided to start working on an ArmA 2 / ArmA 3 RPT reader that will work in Windows, Linux and Mac. This reader allows you view the logs of any ArmA 2 / ArmA 2 game server that allows public access to it’s log file (commonly known as “RPT”).

Screen shots:

Windows 7:
Posted Image

Ubuntu 12.10:
Posted Image

Requirements:

- JRE (Java Runtime Environment) 1.6 (or higher)

- Internet connection

Details as to how to use the program are in the readme.txt file (included in the download).

Download

Download Mirror #1

Mar 14

EM Captcha – Visual PHP Captcha Class – 1.1 BETA

I decided to take another look at EM Captcha to see if there were any improvements I could quickly make.

 

Here is a change log from version 1.0 to 1.1:

  • Removed the IP address check (due to someone potentially having a different IP address when loading and then submitting the captcha form)
  • Made the code more efficient in several places
  • Made the code easier to read
  • Removed yellow as one of the possible captcha string colours
  • Fixed the expiry time option
  • Added question text option
  • Made the valid check case insensitive rather than case sensitive

 

Link to original post with example as to how to use the class

Extra Information

PHP extension / library requirements: SQLite3 and GD (Version 2.0)

License:  Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)

True Type Fonts: 3Dumb, LimeLight, SpecialElite - Note, these fonts are subject to their own licenses which are included in the download under the “fonts” directory.

 

Download

Status update

Eddy

This is just a quick update as to what I’ve been working on recently.

In the past few months I’ve been making a lot of ArmA2 (a popular military simulator PC game) missions, as well as working on an SQF (scripting language used for ArmA2 mission making) editor, as well as a multi-platform ArmA2 RPT viewing program; which is useful for server administration.

I also built a mini-ITX computer last month, which I recorded and I’m still working on editing the videos for this before I upload it to YouTube to help others build mini-ITX form factor computers.

- Eddy

Feb 01

NetBeans PHP Tutorial – Introduction to MySQLi #10

In this tutorial I give a short introduction as to how to use MySQLi (MySQL Improved) and the differences between it and the (now) deprecated MySQL functions:

Jan 23

Website Downtime

Hello,

You may have noticed that my website has been down for a while, this was due to myself letting the domain expire unknowingly; and then having problems with renewing it due to a very long story..

Anyway, the website is now back up and I hope to be doing some new PHP tutorials shortly.

Dec 29

NetBeans PHP / JQuery Tutorial – AJAX Login #9

In this tutorial I show how you can login to, the login system I created in my previous tutorial, without the page having to refresh, through the use of AJAX:

Dec 12

NetBeans PHP Tutorial – How To Make A Login System #8

In this tutorial I show how to make a login system in PHP without the use of any frameworks:

Nov 13

EM Captcha – Visual PHP Captcha Class

I’ve recently been developing a visual PHP Captcha Class for use in a CMS (content management system) project I’m currently working on as an alternative to Google’s “reCAPTCHA”, for people who don’t know how, or don’t want to set up “reCAPTCHA”.

At the moment it’s a relatively simple captcha class that’s easy to implement, I’ve already started thinking about improvements that I can make in the future.

Here is an example as to how to use the captcha class:

<?php
/* EM Captcha Implementation Example */
require(__DIR__ . "/captcha.class.php"); // Include the captcha class file "captcha.class.php"
 
if (isset($_POST['submitButton'])) { // If the form has been submitted, process it
	// Create a new captcha object parsing in the hidden ID in the form, this will always be "$_POST['emCaptchaID']"
	$captcha = new Captcha($_POST['emCaptchaID']); 
 
    if ($captcha->isValid()) { // If the input captcha matches the image
		print("Valid captcha!");
		// Your code here..
 
	} else { // If the input captcha does not match the image
		print("Invalid captcha!");
		// Your code here..
	}
 
} else { // If the form has not been submitted, display it
	$captcha = new Captcha(); // Create a new captcha object, as we're not validating captcha input we don't parse in an ID
 
	// Set options, White background, show border, 5 minutes until the captcha expires, "Answer:" will be shown above the text field
	$captcha->setOpts("white", true, 5, "Answer:"); 
 
	// Output a HTML form
	print("<form method=\"post\">");
 
	// Call $captcha->output() where you want the captcha image and text field to appear
	$captcha->output("./"); // "./" is the path to the captcha_show.php file from the current location, default is __DIR__
	print("<br /><button type=\"submit\" name=\"submitButton\">Submit</button>");
	print("</form>");
}
?>

If the form had not been submitted the above code will output a form which would look like the screen shot below:

EM Captcha 1.0 Screen Shot

EM Captcha 1.0 – BETA

 

Extra Information

PHP extension / library requirements: SQLite3 and GD (Version 2.0)

License:  Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)

True Type Fonts: 3Dumb, LimeLight, SpecialElite – Note, these fonts are subject to their own licenses which are included in the download under the “fonts” directory.

 

Download

Nov 10

NetBeans PHP Tutorial – GET and POST Variables #7

In this tutorial I give an introduction to using GET and POST variables in PHP, and how to make sure it’s safe to use in an SQL query.

Older posts «