How to Add E-mail Addresses in .php code [closed] - php

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I am new to .php coding so I have tried to write this as code. I would like to make just the e-mail addresses active but am not sure how to do this.
The Orpington Badminton Club Committee currently consists of 4 members who look after the day to day functioning of the club who are.
[Removed Personal Details]
Thanks

You would just generate the following html:
Someone - Club Captain
There is a reason that people use form submissions though to generate emails.
You are exposing your users emails to any program crawling the site. This is guaranteed to get your users email address on an incredibly large amount of spam mail list.
The html mail to links you find on websites are dependent on the user visiting the site having a default mail action selected in their browser. If they do not then they can click that link all day long and it will do nothing.

Related

how to verify bank account if its valid to receive funds? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Good day,
I'm currently developing a system for ads, and we have users who advertise / share a post on our site then they get paid for it.
also we have a form that requires their account number. My question is, how do we verify if the account number they write on our form if its valid or not, before we transfer the fund to it? is there a way we can do this electronically? we are currently new to TD's EFT.
I just would like to asks for advice to those who has experienced working with any banking api.
please give me some advice on where to start. Thanks!
You can look at the ISO9362 standard which define the SWIFT code, there is one also for BIC and IBAN codes, so at least you can formally validate the code and find if the user entered a wrong number ( a type error for example).
Once you have a formally valid code, you can eventually check with the correct bank if the api it expose a method to allow it.
But you can neven be sure of the person/account number match until the bank say it.

How to make Country - Specific Web Site (and contents)? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Now I am developing a small website about Cricket News in php. My plan is to present every day cricket news as posts and my goal is to show viewers their home country's news top most according to their country..! Currently I have ordered only a .com domain name and planning to order some country coded domains (like .lk, .in, .au, .gb, .sa etc) according to your answers. So my question is this.
I have seen a lot of major websites have their own bunch of cc domains and sometimes I cannot go their general .com site even I typed it on the browser's address bar. (I am in Sri Lanka and some websites only show .lk site even I googled or typed their .com names on my address bar..!) I like to include this technique to my website also, but I don't know how. So please help my following questions.
How do I detect visitor's CORRECT COUNTRY?
Do I need any third-party service or add-ons and are there expensive?
How do I change web content according to visitor's country?
Should I buy all cc domain names or can I use following technique?
https://www.sample.com/in/index.php
https://www.sample.com/sa/index.php
Finally, If I can use mentioned technique, how I do that?
You need user IP Address and IP 2 Location API. Try the following example with complete solution to detect User's country.
Try
$userip = $_SERVER["HTTP_CLIENT_IP"];
$ip_data = json_decode(file_get_contents("http://www.geoplugin.net/json.gp?ip=".$userip));
echo $ip_data->geoplugin_countryCode;
Output
US

How to send an sms comfirmation for when user sign up [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm creating a website that requires user to sign up in order to get an account.I was just wondering, what type of api/code/etc do I need to use to send a verification code to directly to their phones.Once they receive the message they should be able to send like a text to that number (ex: send yes to confirm to the number #987) and the account automatically gets confirm from the text message.
Here you've got a list of SMS APIs: http://blog.mashape.com/list-of-50-sms-apis/. It's from 2013 though, some of them might have changed. You do have free APIs like http://textbelt.com/ but it depends on where do you want to send those SMSem, different providers in different countries have different gateways. I think it's impossible to answer you in 1 sentence.

Post to website through email [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm currently working on a PHP application. In order for me to post data to the website, I create a simple form, nothing trivial. However, I would like to incorporate a functionality of posting data in the form of email. So I have a webserver, I have an email set up, and what I would like to do is to send a message to that email, then the sent data is stored. I'm trying to find resources how to do this one and to no avail. Any kind of help is appreciated, thanks in advance.
Mailgun has an inbound email API, which will post incoming email messages to your application. See http://www.mailgun.com/inbound-routing. Sendgrid also offers a similar service: https://sendgrid.com/blog/sendgrids-parse-api-parsing-incoming-email-is-now-faster-and-easier/
It's called email piping, and its a bit hands on so far as configuring it with your email server. If you're comfortable, here's a decent quick rundown: http://www.phpshare.org/articles/Piping-Incoming-Mail-with-PHP
I believe the above is what you're looking for, however an alternative would be having a specific subject / attachment name, and having a cron job periodically check your email account looking for that specific string. ( Option A is a much better / easier fit, but thought it was worth mentioning).

How to post and upload content via email? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I have a website and I want to be able to post things through my email, just like in many big social networks. (like Facebook, Flickr)
Like: I would send a message to 'post#domain.com'
the title would be saved to a MySQL db and attachment is saved to a directory.
or something similar to this.
I'm more focused on the attachment,but I'll take anything that will get me started
I heard that it is possible through a "Cron Job", but I'm not familiar with how that works. So please link to a tutorial or some code that I can learn from.
-Thank you
That would be a bigger and more complex system than a simple tutorial.
Conceptually, you'd have a mail exchanger that would accept incoming mail and store it somewhere. Then, you'd have a separate system that would connect to the mail exchanger (through POP, IMAP or filesystem) and get the mails since its last run. It would then parse the mail and run whatever action you specified.

Categories