I'm not sure where I'm supposed to save my .php file, because I saved it in a custom folder, but I'm pretty sure it's not right since I get this error when I go to localhost/connect.php
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost Apache/2.4.9 (Win32) OpenSSL/1.0.1g PHP/5.5.11