CBG Posted March 28, 2010 Share Posted March 28, 2010 Hi, I am making a Modifiaction for a script and I am using the PHP code $_SERVER['SCRIPT_FILENAME'] and $_SERVER['REMOTE_ADDR'] I would like it to work with both Linux and Windows Hosting. Can some tell me if it is suppoted before Windows 2003 and IIS 6? I have tested this on a Windows 2003 Server Hosting, running IIS 6, so I am presume it will be support on newer versions. Quote Link to comment https://forums.phpfreaks.com/topic/196791-does-windows-support-_serverscript_filename-_serverremote_addr/ Share on other sites More sharing options...
premiso Posted March 28, 2010 Share Posted March 28, 2010 Why not create a virtual server with the setup you want and try it out? Me I do not know, I would never use IIS for PHP hosting, but that is just me. But as far as all logic goes it should, but I do not know IIS, so yea. Quote Link to comment https://forums.phpfreaks.com/topic/196791-does-windows-support-_serverscript_filename-_serverremote_addr/#findComment-1033062 Share on other sites More sharing options...
TeddyKiller Posted March 28, 2010 Share Posted March 28, 2010 Well.. if it works on a Windows 2003 Server Hosting, running IIS 6 then it should definately work with newer versions too. I haven't tested, but it'd be pretty damn stupid if it didn't work. Quote Link to comment https://forums.phpfreaks.com/topic/196791-does-windows-support-_serverscript_filename-_serverremote_addr/#findComment-1033064 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.