Robert Sesek [Wed, 13 Apr 2005 23:53:18 +0000 (23:53 +0000)]
Updated error reporting stuff. It was really broken before and I'm not exactly sure why. We now also use the pre-defined PHP constants instead of the ERR_* ones.
Robert Sesek [Wed, 23 Mar 2005 03:28:29 +0000 (03:28 +0000)]
Fixed:
- ksort() expects parameter 1 to be array, null given in /WebRoot/htdocs/isso/template.php on line 460
- Invalid argument supplied for foreach() in /WebRoot/htdocs/isso/template.php on line 461
Robert Sesek [Sat, 19 Mar 2005 05:36:36 +0000 (05:36 +0000)]
Removed unnecessary extraction of the condition. Made comments clearer and cleaner. Changed the else parser to use the $tag_else variable instead of just '<else />'
Robert Sesek [Thu, 10 Mar 2005 00:22:47 +0000 (00:22 +0000)]
Fixed bug in ISSO::Mail::_convert_line_breaks where line breaks were in some cases being converted twice. The problem was that if you wanted to convert to \r\n you can't convert in a linear fashion (do all of the conversions to \r\n). Instead, you have to simplify everything to one line break, and then change the line breaks to the desired style. This is because \r\n would be converted into double line breaks if the old style was already \r\n.
Robert Sesek [Mon, 21 Feb 2005 04:05:22 +0000 (04:05 +0000)]
All line breaks are now LF (http://us4.php.net/manual/en/function.mail.php). We leave headers as such because the NB says that poor mailers will not send it, but it's a one-way street. Also, to follow the rest of send(), the headers are now stored in the object, not as a separate variable.
Robert Sesek [Sat, 22 Jan 2005 21:52:53 +0000 (21:52 +0000)]
Added input sanitize functions. The new system works by merging $_GET and $_POST, running them through a unicode-safe htmlspecialchars() and storing it in _isso::input. Then this can be accessed; and proper data manipulation (intval(), floatval(), _isso::escape) can be run on it. _isso::escape uses a variety of escape functions from none (Magic Quotes on), to mysql_real_escape_string() (have a valid DB connection), to just addslashes() (neither of the previous two).
Robert Sesek [Fri, 14 Jan 2005 03:36:04 +0000 (03:36 +0000)]
Added $apppath global variable, changed procedure for ISSO::fetch_sourcepath(), finished module loading system, added ISSO::locate to load a framework, added ISSO::is_loaded to check and see if a framework is loaded.