It is my first time touching on php and I'm learning the basics of it. I've used Notepad++ for all of my HTML, CSS, and javascript files. Since, theses three are able to test and run locally, php isnt because it's a server side which requires a server to run. I was wondering, if there's a way to make Notepad++ run the file on the server?
In the Notepadd++ title header, it gives the local directory "C:\Users\Jaime\Desktop\grade.php" of my file, but can this directory be altered to something like "http://" indicating it's being tested and run on the internet?
If not, is there anything else I can use to efficiently run php files without having to refresh and put the files in Filezilla to see the changes made?
Thanks!
What you probably need is an FTP Synchronize plugin that will allow you to edit a copy of your php file and then synchronize it to the server.
How to Install:
Make sure that your Notepad++ is closed
Download from this link . I choose version 0.9.6.1. Unpack or Unzip to \Notepad++\plugin folder.
It will have its own folder so copy or cut and paste the files to \Notepad++\plugin
Read the file named "What file to use" so that you will know which
to use. In my case I used FTP_synchronize.dll
Run your Notepad++ and it will tell you that it will remove the unwanted files and just click Ok for it.
Go to Plugin-->FTP Synchronize-->Show FTP Folders. And presto there you have it!
How to Connect:
Go to menu Plugins-->FTP Synchronize-->Show FTP Folders
Click Open Settings Dialog
Click the New Button then type-in the Address, Port, Username, Password and check Active on Connection Mode. And finally Click OK.
Click Connect
Click upload Current File to Folder
Then check your website and in my case the files uploaded are on the login name that I used that turned into a folder. And inside the folder are the files that I uploaded. Or of course you could really go directly to the wwwroot
folder (or whatever folder name for your root) if you like so that you don't have to transfer the files.