I am struggling to understand how to test a PHP form using Sublime Text. I have MAMP installed and the files within the server root. I can access the .php page when I type in the localhost address, and it works, but when I submit the form in the browser of my test page, it directs to the file path (e.g “file:///Users/tjgriffiths1/Desktop/Sites/randomact/yourpage.php”) rather than the local host.
As a side note, I tried to install Sidebar Enhancements to combat this problem, thinking I could edit the preview URL, but I haven’t been able to make that work either. Any ideas?