I know that php scripts run in the server but is there a way to run them on my local computer? I was searching for some scripts and found some very similar to what I intend to do but I would like to test them without uploading them to my server and without messing with my present website structure, thus the question. How can I run a php script in my local computer.
There are several different "packages" you can install to run them on your local machine. I use xampp. WAMP is another and I am sure other posters will add more to the list.
Yup. If you're a beginner (and from the context it appears you are) then WAMP is ideal for you on a Windows based machine as it installs the Apache server, MySQL and PHP for you very simply