PDA

View Full Version : Location of Script folders


randy153228
04-22-2009, 03:09 PM
Is it safe to put the script folders in the public_html directory? I have the script folders outside of the public_html directory, and the captcha function does not work.

I have changed the code at the top of the page to:
<?php require_once("../WA_ValidationToolkit/WAVT_Scripts_PHP.php"); ?>

to reference outside the public_html folder. Does this function not work because I am calling for an image that is located outside of the public_html folder?

Please advise.
Thank you!
Randy

Ray Borduin
04-22-2009, 03:37 PM
It is safe to keep them in the public_html folder. They need to be there to run properly on a web page.