1224 Posted June 10, 2011 Posted June 10, 2011 (edited) Can I make the .php page can only receive the HTTP request from AutoIT only? Edited June 10, 2011 by 1224
somdcomputerguy Posted June 10, 2011 Posted June 10, 2011 AutoIt has it's own useragent name, maybe that can be used to 'isolate' it. One can also set that useragent name to something other than the default.HttpSetUserAgent - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
FireFox Posted June 10, 2011 Posted June 10, 2011 AutoIt has it's own useragent name, maybe that can be used to 'isolate' it. One can also set that useragent name to something other than the default. HttpSetUserAgent Then on the server side, just check for the useragent with php : if($_SERVER['HTTP_USER_AGENT']!='myuseragent') {exit();} //if the useragent is different than "myuseragent" (set it with th function httpsetuseragent //your code here If you want to send post requests then the is what you want. Br, FireFox;
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now