-
Yeah, that's all you need to do for the sanitizing e-mail (as far as I'm aware), something simple like:
$subject = str_replace(array("\n", "\r"), "", trim($_POST["subject"]));
That should be able to do it.
~Matt.
2005-11-17 19:20:53 UTC in PHPMailer
-
Emm... this has been talked about many times on the mailing list (maybe even the forum?). While I think it would be a valuable feature at some point, I'm pretty much of the opinion that data sanitization is the responsibility of the developer, not necessarily the class.
Do you expect all classes you use to sanitize your data for you? ADOdb?
If anything I think that (while it probably...
2005-11-17 18:50:44 UTC in PHPMailer
-
MySQL: 4.0.24-max (I don't think it's version specific
though)
I have a database named "system_authentication", a
table called "user_data" which contains a number of fields.
- I log into PHPMyAdmin
- I click "Privileges"
- I click the edit button beside an existing user
"auth_manager"
- I select the database "system_authentication" from
the "Add privileges on the following...
2005-08-26 13:44:54 UTC in phpMyAdmin
-
I'm getting this same error in Firefox on both Mac and Windows. Internet Explorer seems to work okay though... very odd.
~Matt.
2005-06-01 17:50:24 UTC in FCKeditor
-
I'm using the LDAP driver but found the "or die()"
error reporting sort of annoying. I fixed this by
logging the errors to an errormsg variable and
returning false. The developer can check for a false
return and retrieve the error message via
$ldap->ErrorMsg().
2005-05-19 20:05:44 UTC in ADOdb
-
Oh great, let us know how it goes.
~Matt.
2003-11-14 20:40:23 UTC in Group-Office groupware
-
A Quotes module for "Sales" people so they generate quotes based on the fee's from the Projects module for customers or potential customers.
----
Yes a bug tracking system would be great to be built into a ToDo module. I haven't finished the Quotes module, but when I do, I'll have a look at building a simple ToDO to start with. Unless someone wants to dig into a full blown one as...
2003-11-14 20:39:26 UTC in Group-Office groupware
-
I'm really in need of a ToDo module for Group-Office. Any plans on one for the near future?
I've been experimenting on writing a Quotes module, so if there isn't a ToDo module in the works, I might attempt to write one.
Let me know.
Thanks,
Matt Simpson.
2003-11-04 15:18:59 UTC in Group-Office groupware
-
For whatever reason, I couldn't get Group-Office to run with PHP 4.1.2. I had the exact same setup running on a system with PHP 4.3.3 and it works fine! But yeah, on the system with PHP 4.1.2 the File module doesn't work (it won't upload files or create directories), the Contacts module won't remove people, and there were quite a few other little quirks I found.
Great job on Group-Office by...
2003-09-13 15:15:43 UTC in Group-Office groupware
-
Hello,
Just a quick questions, I realize that from the documentation it says that PHP 4.3.x is required and I'm just wondering if there is a specific reason for this, or if it's just there to encourage upgrades?
The only reason I ask, is because I have a RedHat 7.3 box that I really don't want to have to upgrade PHP in because I'd like to keep it in sync with RedHat's up2date. I do have...
2003-09-12 15:48:39 UTC in Group-Office groupware