Nandini Posted November 2, 2008 Share Posted November 2, 2008 Hi I want to open popup window in different ip that means i am in 192.168.1.116 php script is in 192.168.1.116 I have to put onlink like "popup" when user click that link the popup willbe open in user's ip address. Ex: user open my ip address 192.168.1.116 on his 192.168.1.138 and click popup link. popup will open in his 192.168.1.138 How can i do thta? Quote Link to comment https://forums.phpfreaks.com/topic/131050-popup-open-to-different-ip/ Share on other sites More sharing options...
RichardRotterdam Posted November 2, 2008 Share Posted November 2, 2008 a popup will always open in the users IP since the browser runs on the users computer not the server. Quote Link to comment https://forums.phpfreaks.com/topic/131050-popup-open-to-different-ip/#findComment-680476 Share on other sites More sharing options...
BoltZ Posted November 2, 2008 Share Posted November 2, 2008 Your being very confusing. Are you asking when a person clicks something and its from their ip then if the things from a different ip then it opens up a popup on THEIR computer? Quote Link to comment https://forums.phpfreaks.com/topic/131050-popup-open-to-different-ip/#findComment-680607 Share on other sites More sharing options...
Adam Posted November 4, 2008 Share Posted November 4, 2008 I think he's asking for the IP to work as a kind of "to" address for his popup. So when a user at one IP clicks to send 'popup' to another user at another IP, it'll popup a message or something .. Perhaps some kind of chat system or admin system? If you want it to be in real-time, ie. not every time the page is reloaded, then you'd definately need AJAX... Otherwise it's just registering who sent who what in the database and then testing for it with PHP when the page is loaded. I assume with you posting in the javascirpt forum though you're looking for it to be real-time.. Adam Quote Link to comment https://forums.phpfreaks.com/topic/131050-popup-open-to-different-ip/#findComment-681919 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.