Wisdom of keeping PHP scripts embedded when submitting forms
I was wondering if it would be more secure if the php scripts I'm using to insert user names and contact info into my database would be more secure if the code was moved to a new page called insrtRecord.php and the form action were changed from action="<?php echo $editFormAction; ?>" to action="/Scripts/insrtRecord.php"
The page was constructed entirely with Dreamweavers built in behaviors so all the code is right there in the contact page for anyone to look at.
I'd then password protect the Scripts directory that contained the insrtRecord.php file to keep it from prying eyes.
Thanks for your advice.

