Tag Info

Hot answers tagged

5

You don't. The web server is allowed to decode percent-encoded characters which don't decode to special characters before applying rewrite rules, and is allowed to decode the remainder of percent-encoded characters before passing the data to your web application. (See RFC 3986.) What you should be doing is applying the front controller pattern in your web ...


2

This works with sendmail piping. Here is an example of what the data that gets piped looks like To: to@to.com Subject: Your Subject Here X-PHP-Originating-Script: 0:MailSender.class.php MIME-Version: 1.0 Content-type: text/html; charset=iso-8859-1 From: First Last <noreply@cool.com> BODY OF EMAIL GOES HERE Save this script as /usr/sbin/sendmail ...


1

Do a tail -f on maillog, pipe it into your program and look for delivered statements. Then, you'll not be interfering with the system's spam filtering, and will only get solid hits. You'll also know who received the message - it's in the log file... As for php, well, it's the wrong language for this, but your watching program can launch php to do whatever ...


1

CentOS doesn't provide PHP 5.5 in their standard repositories Look here; you'll need to use EPEL https://webtatic.com/packages/php55/


1

YES! Base on what Zoredache said I did a :/etc/apache2$ rgrep post * which found sites-available/000-default.conf: php_value post_max_size 128M so a little /etc/apache2/sites-available$ sudo vi 000-default.conf change php_value post_max_size 128M to 1024M and I am done!



Only top voted, non community-wiki answers of a minimum length are eligible