php - how to check the login information for remote website -


I want to see login information for the remote website. I can do it with curl, but curl uses the server's IP (I do not want to use my script's server's IP, I want a script to use client's IP). For example: The client will use my form (username and password) and my PHP scripts will see if their account details are correct or not. The script will control whether its account credentials are correct or not.

I can not use curl (server IP), get content (server IP), jquery + json + ajax (cross domain problem).

Any advice?

You are not able to use the IP address of the server The server is requesting that you are right that AJAX The solution will not work for XSS reasons.

You can open a remote page in a hidden iframe, and control the iframe with jquery.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -