PHPF60818 Posted August 18, 2006 Share Posted August 18, 2006 Glad to know there are several choices like XAMPP, WAMP, EasyPHP, Reactor, etc.Questions:(1) If one wishes to avoid the need to "upgrade" to a more powerful installation later, which one(s) should one install under WinXP Pro?(2) How secure are each of the installations? What's the chance of hackers hacking into the computer via the installation? In terms of being hacker-proof, which of the installations is the most secure, and which is the least secure? Which one has the best default security?(3) What are the key caveats to follow to prevent hacking as a result of installing such a PHP programming environment?Thanks to all for any input. I am sure many beginners will appreciate knowing the answers to all the above questions. Quote Link to comment https://forums.phpfreaks.com/topic/17932-which-amp-installation-for-windows-xp-pro-environment/ Share on other sites More sharing options...
wildteen88 Posted August 18, 2006 Share Posted August 18, 2006 If you install a server on to your PC, your PC has a slim chance of getting hacked. As the real vunerability you'll have is the security of your PHP scripts this is how sites get hacked due to exploits in thier code.To stop people from hacking your scripts you should make sure any variables comming the client such as POST'd data, URL parameters and cookies should all be validated properly. For example say you have an id url parameter which holds an integer. You should check that the id variable is a number using this:[code=php:0]if(isset($_GET['id']) && is_numeric($GET['id'])){ // id variable has been validated and passed. We can now use $_GET['id'] variable}else{ // we kill the script as id variable is either not present or is not a number die('invalid identifier');}[/code]Also I dont like any of those packages you have listed above. It is much better to setup Apache, PHP and MySQL manaully That way if you want to upgrade PHP you can do without having to wait until your AMP package has been updated. Quote Link to comment https://forums.phpfreaks.com/topic/17932-which-amp-installation-for-windows-xp-pro-environment/#findComment-76730 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.