Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
Index Card System for Game Characters in PHP

A couple of days ago, I received a request for a PHP demonstration in which the web site owner could enter a character's name in a game, and something about the character, and have that information stored as a web page for later reference under the character's name.

It's easy enough to write a basic program - in fact I have written one and put the source here. Security is quite another matter, as it's also very easy to write such an application that will leave you open to injection attacks and all sorts of nasties (which is why my example checks our Well House Consultants staff cookie, so that we can update the page but you can't, Mr Joe Public).

There are also the questions like "how do I edit the data, then" and "How do I attach an image", "How do I delete a card", "How do I sort and search" .... none of which I was asked ;-) ... They're all perfectly do-able, and in fact we cover such things on our PHP Programming course and our PHP Techniques Workshop which I'm looking forward to running again in the new year.

Further links - Data Entry page (locked down, I'm afraid!) and Card Index.

Note - if you keep data about real people (or perhaps even the characters that they play in a game) on a system like this, and especially if it's public facing, you need to be aware of legal issues such as the UK's Data Protection Act.
(written 2008-12-27)

Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
H310 - PHP - Putting it all together
  [468] Stand alone PHP programs - (2005-10-18)
  [687] Presentation, Business and Persistence layers in Perl and PHP - (2006-04-17)
  [1716] Larger applications in PHP - (2008-07-22)
  [1754] Upgrade from PHP 4 to PHP 5 - the TRY issue - (2008-08-15)
  [1794] Refactoring - a PHP demo becomes a production page - (2008-09-12)
  [1840] Validating Credit Card Numbers - (2008-10-14)
  [2275] Debugging multipage (session based) PHP applications - (2009-07-09)
  [2635] A PHP example that lets your users edit content without HTML knowledge - (2010-02-14)
  [2931] Syncronise - software, trains, and buses. Please! - (2010-08-22)
  [3454] Your PHP website - how to factor and refactor to reduce growing pains - (2011-09-24)

Back to
Making our things easier to find
Previous and next
Horse's mouth home
Forward to
Best source to learn Java (or Perl or PHP or Python)
Some other Articles
Background to the TransWilts Train Fiasco
How much does a train service actually cost
Why hasnt the fiasco been put right
Best source to learn Java (or Perl or PHP or Python)
Index Card System for Game Characters in PHP
Making our things easier to find
Christmas Survivors
PHP - Parse error: syntax error, unexpected $end ...
Why are cooks bad tempered?
4759 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 at 50 posts per page

This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2024: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/mouth/1962_Ind ... n-PHP.html • PAGE BUILT: Sun Oct 11 16:07:41 2020 • BUILD SYSTEM: JelliaJamb