Search Results

Showing results 1 to 8 of 8
Search took 0.01 seconds.
Search: Posts Made By: tgbyhn
Forum: PHP Sep 10th, 2008
Replies: 20
Views: 10,514
Posted By tgbyhn
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: 690
Posted By tgbyhn
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: 690
Posted By tgbyhn
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: 778
Posted By tgbyhn
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: 3,005
Posted By tgbyhn
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: 883
Posted By tgbyhn
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,514
Posted By tgbyhn
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,514
Posted By tgbyhn
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),...
Showing results 1 to 8 of 8

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC