Posted by BothersomeBumpkin (BothersomeBumpkin), 25 November 2005From URL: http://www.wellho.net/solutions/index.html
I clicked on link "Perl - I didn't know you could do that"
Parse error: parse error, unexpected T_STRING in /home/wellho/public_html/solutions/perl-perl-i-didn-t-know-you-could-do-that.html on line 35
I am using Firefox 1.0.7
Apologies if this is posted to the wrong group
Posted by admin (Graham Ellis), 25 November 2005OO ....errrr .... no - you're fine here. I hadn't spotted that one. Looks like it came about at our website update a couple of weeks back ... it's because I've got a quote in the subject title - long story and one for me to look at, afresh, in the morning. A web site of 6000 pages requries a doooozy of a lot oc checking
Posted by admin (Graham Ellis), 26 November 2005Fixed!
I took the time to fix the root cause - which was a single quote mark in any subject title in the solution centre - rather than just fix the one page. Always looking to the future.
If you're writing a page that invites user contributions, it's vital to allow for nasty characters such as single quotes, less than signs and the rest in the input. We always do. For pages that we generate internally / that cannot be edited by anyone except us, a lower standard is sometimes acceptable since it's only us who could exploit our own security hole - and what would be the point.
Setting this lower internal standard can, though, catch us out as it has done in this case. Standards now raised!! - Graham
PH: 01225 708225 • FAX: 01225 793803 • EMAIL: email@example.com • WEB: http://www.wellho.net • SKYPE: wellho