1224 0 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 Share this post Link to post Share on other sites
somdcomputerguy 103 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. Share this post Link to post Share on other sites
FireFox 260 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; OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDFMy Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme makerMy Examples : Capture tool | IP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewerMy Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control Share this post Link to post Share on other sites
1224 0 Posted June 10, 2011 Thanks all, the problem is fixed Share this post Link to post Share on other sites