Forum: PHP Sep 10th, 2008 |
| Replies: 20 Views: 10,179 Hi digital-ether,
Thanks for your update, however I've just noticed a bug in my last update, line 141 was incorrectly adding an array, which was breaking things if there was no MX record.
... |
Forum: PHP Sep 10th, 2008 |
| Replies: 7 Views: 673 Also you could alter your php.ini file, and change these values to:
error_reporting = E_ALL
display_errors = On
This will show you where the errors are. Although note that "display_errors =... |
Forum: PHP Sep 10th, 2008 |
| Replies: 7 Views: 673 Hi Oma,
There's a parse error in your code, you need to remove the extra '}'. I've split up your code so you can see where the error is.
You need to remove this '}'.
Hope this helps. |
Forum: PHP Sep 8th, 2008 |
| Replies: 2 Views: 762 Hi bdcd,
This should do the trick (note: this code is untested):
<?php
$host="localhost";
$username="blaa";
$password="blaa"; |
Forum: Linux Servers and Apache Sep 7th, 2008 |
| Replies: 1 Views: 2,936 Hi Sam,
Try this:
RewriteRule ^([A-Za-z]+)/([A-Za-z]+)\.html$ /main.php?Area=$1&Page=$2 [PT,QSA]
Or this (the PT in the example above will make the viewer only see /some/url.html - and NOT... |
Forum: PHP Sep 7th, 2008 |
| Replies: 2 Views: 863 Hi knrakesh,
I don't think it can be done - easily at least (quote taken from http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html):
Adnan |
Forum: PHP Sep 7th, 2008 |
| Replies: 20 Views: 10,179 Hi digital-ether,
I've done a few more tweaks, and a bit more testing, I've put it in blocking more (I tried it originally, but forgot about the MTA's greeting so it didn't work). One thing I... |
Forum: PHP Sep 7th, 2008 |
| Replies: 20 Views: 10,179 Hi digital-ether,
Thanks for the SMTP validation class, I've made a few of tweaks, and thought I'd share with everyone.
1) The new line terminator should include a carriage return (\r),... |