How I check ip address and ask security ans [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
i want to do if a person login from state A(this is his home town) and after 2 hours the same account login again by another state B. then ask a security Answer.
How i can check this. with the help of cookie or any thing else

You can't check for this. IP geolocation is not nearly accurate enough.
From my desk right now, I have 3 IP addresses. One in Illinois, another in Missouri (cell phone provider has registered their IPs there), and a proxy server on a VPS in Europe. In addition, it's common for addresses to change regularly.
Consider using two-factor authentication if you want to increase your security standards.

Related

Is there any way to generate facebook login timestamp? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
On my site I have used fb login and I can do it easily for my site. But as we have users fb login id and other details, is it possible to generate facebook login time stamp for user for www.facebook.com.
Something like varifying how many times user performs facebook login and how many times he comes to my site.
or something nearer to this if possible
I don't fully understand what you want to do, if you just want a timestamp for when you receive the response from Facebook then you can just create one on your side of the code using time(). If you want to know anything about the user's login habits beyond you're site then that isn't possible due to privacy reasons I imagine.

Chatting on three or four computers via LAN cables [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have made a chat App using node.js and Soket.Io. To use my chat App you just enter your name and then you can start chatting. I can chat by two names in differrent browser of my computer. Now I want to connect three-four computers of my friends via LAN-CABLES and then use this chat App to chat. Can someone help me how to do this? How to carry out this whole process?
try to give the ip address of Lan to your friends,and when they put in the browser.it works.For that just need small networking..

Sms Subscription using php code from my domain [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
i want to send sms to those who have subscribed their number on my website. is there any way to send sms from my domain/website to those who have subscribed on my website?
Depends where you are. You need go to buy the service from Service Providers. Such upside wireless or cell trust or others. There are some outside there. Search "sms service provider" on google. Most of them will provide you a api solution, you can use that to send out SMS message.

Display local users using PHP [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am developing a PHP website. My requirement is that when a visitor/user visits my website ; ie, on the home/index page I would like to list all registered users who belong to the same location as the website visitor's. For example if the visitor is from a city X in Kolkata, then list all other registered users from X. How can I implement this feature? Is there any PHP function or like that to find the geolocation. I tried HTML5 geolocation. But it didn't worked?
This problem can not be solved exactly in common case. Algorithm is that: use geoip database and client's IP-address to get approximate location. Then, using same geoip-database, select similar IP ranges and, finally, search through other users using selected IP ranges. But remember, that users in most cases are behind NAT's, so this solution will be approximate. But you can ask your users when they are registering - about their location. The method I've described before can be used either for registered and unregistered visitors.
Using any geolocation API will be most efficient for this requirement.

How to send verification code in sms using php [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I have website and I want to verify user mobile number. How can I do that? Is there any site for sending message to the user mobile number. Please let me know.
You need to purchase the API code from the mobile operators.
Or you can do that by paying for a service for true SMS.
use emails where available like 98955*****#tmomail.net
http://www.tech-recipes.com/rx/939/sms_email_cingular_nextel_sprint_tmobile_verizon_virgin/
or use curl to sms from each providers web site where available.
Here are few more link to get the code for sending the mobile SMS:
http://sourceforge.net/projects/send-sms-script/
http://www.nowsms.com/doc/submitting-sms-messages/send-sms-text-message-with-php
You need use SMS APIs(gateways), check these services
http://www.clickatell.com/
Yes, there are many sites providing bulk sms you can use google, below is the list of some websites which are in my knowledge,
http://msg91.com
https://www.springedge.com
http://www.bulksms.com/
https://www.textlocal.in

Categories