Find Jobs
Hire Freelancers

Get mx record of email addresses hosted on google apps with php then redirect page

$10-30 USD

Concluído
Publicado há mais de 7 anos

$10-30 USD

Pago na entrega
I need a little assistance to complete my code. I want to check for the mx record of an email address from a form on my website and if the email address is hosted by google apps then I want the page to redirect to a different page than where other emails redirect to. I know I can check for the mx record either using dns_get_record, checkdnsrr or getmxrr() but I don't know how to complete the code. $email = $_POST['email'];<br> $domain = substr(strrchr($email, "@"), 1);<br> $mx = dns_get_record('$domain', DNS_MX, ); This is where I get stuck. How would I implement this in php: if $mx includes [login to view URL] redirect to [login to view URL] This is not a duplicate question. I am trying to use php to redirect to a new page based on the mx record of the email address. The mx record query should locate [login to view URL] and then redirect based on that but if mx record doesnt contain [login to view URL] it should redirect to a different page. More details about this project can be found here [login to view URL]
ID do Projeto: 13118939

Sobre o projeto

2 propostas
Projeto remoto
Ativo há 7 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
Hello Dear Client! My name is Ashot Davtyan I have good experience working with PHP/Codeigniter/MySQL/CentOS Javascript/jQuery/AJAX/JSON Bootstrap/HTML5/CSS3 You can see one of my works on Codeigniter. [login to view URL] I have created Affiliation Tracking Platform(Bootstrap + CI) Chrome extension tracking platform RSS Feed control platform [login to view URL] I am the owner of [login to view URL] which is working on our personal server. I am always available and i will respond to your messages If you're interested you can find me by skype=agja55 Thank you for attention!!
$20 USD em 3 dias
0,0 (0 avaliações)
0,0
0,0
2 freelancers estão ofertando em média $75 USD for esse trabalho
Avatar do Usuário
Hi there, how are you doing ? send me ftp details right away I am ready to fix this issue. I am available over chat. Thanks
$100 USD em 1 dia
4,5 (108 avaliações)
6,0
6,0
Avatar do Usuário
Hi, Delivering the task with quality is my goal. My skills fit perfectly to the kind of task you are looking for. In fact, I had delivered tasks to my satisfied clients that is related to this job. You can contact me on your convenient time for us to discuss further on your requirements and we can move forward to the next level. Thanks, Joseph C Ocero
$49 USD em 0 dia
5,0 (5 avaliações)
3,0
3,0
Avatar do Usuário
Hi, I’m dedicated professional Web and Desktop Programmer & Developer and freelancer only. I have been working with challenge and hope to improve future plan with good network every client. If any client want to get more faster job services with save time I am ready to work. I can ensure that I’ll complete each instruction within time frame even more faster. I am available everyday to work more than 12 hours. I can ensure that I'll complete each instruction within time limit with daily update on server. I am ready to work and I hope I'll get permit to prove my experience. Thank you
$25 USD em 1 dia
5,0 (2 avaliações)
2,4
2,4

Sobre o cliente

Bandeira do(a) NIGERIA
LEKKI, Nigeria
4,7
9
Membro desde out. 14, 2015

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.