I have a problem with the pre-written scripts in Dreamweaver MX for making a database connection to MySQL (PHP). My ISP requires all script files reside in my /cgi-bin/ folder.
The prewritten scripts for testing connections were placed outside of /cgi-bin/. I reconfigured the site manager with the testing and remote servers inside the /cgi-bin/. The DM dialog windows would not allow me to list the root URL prefix to ../cgi-bin/.
When I move the files (Connections & mmServerScripts folders) inside /cgi-bin/ and change to mod751, they still do not work and I receive a HTTP 500 error. I think it is a mapping idiosyncrasy.
I have successfully connected to the database with a hand coded PHP connection(www.usmotorclub.com/cgi-bin/lads/try.php
) so I know it works.
I need to make a connection through the Dreamweaver MX because it has all the pre-built pages I need to post, query, report, and update this site.
Can the testing files' code, or their location, be altered to work on this host?
Is it common for hosting sites to force all *.php pages into a /cgi-bin/?
Do I need to change ISP's?
Thanks ahead of time,