Jump to content

Recommended Posts

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.

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.
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.