j.smith1981 Posted April 28, 2011 Share Posted April 28, 2011 I am having problems with the checkdnsrr() function in PHP. The problem is, I have decided to split a users full email address into 2, between the @ sign, if no length exists either side of the domain. Then it brings up an error, but when going to check the string to the right of the @ (the domain of course). When checking something like mydomain.me.uk (not it literally being of that domain, but my own domain is within the .me.uk part). It says it doesnt exist, yet I have added an MX record on a second check on changing the 'MX' type in the function to ALL, it still doesn't work. Why could this be please, would there be any workarounds for this at all? Any helps appreciated, Jez. Quote Link to comment https://forums.phpfreaks.com/topic/234982-checkdnsrrmydomaincom-mx-not-working-for-a-particular-record/ Share on other sites More sharing options...
Pikachu2000 Posted April 28, 2011 Share Posted April 28, 2011 The problem might be in the code. Quote Link to comment https://forums.phpfreaks.com/topic/234982-checkdnsrrmydomaincom-mx-not-working-for-a-particular-record/#findComment-1207886 Share on other sites More sharing options...
j.smith1981 Posted May 1, 2011 Author Share Posted May 1, 2011 That is fair enough, but have you tried a solution yourself, on the same domain? Just for thoughts really, I mean I was going to use it for making it out that a domain exists on a user registration for that blog code I showed you, for which I have improved as per what you suggested btw. Thank you and I appreciate your efforts, Jez. Quote Link to comment https://forums.phpfreaks.com/topic/234982-checkdnsrrmydomaincom-mx-not-working-for-a-particular-record/#findComment-1209158 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.