code_dreamer Posted July 19, 2015 Share Posted July 19, 2015 Hello. I hope this is a simple issue. I have some basic code that will not work on a windows server. Not sure what it is that is preventing it from working. Other php code (forum) is working fine. Here is the simple code: <?php echo "testing script..<br>"; // works mkdir("testing_making_dir"); // does NOT work echo date('Y/m/d'); // works echo "<br> testing script done.."; // works copy('test.php','test_copy.php'); // does not work ?> I am not sure what all information to provide. Like i said, there is a mysql/php form running already in the same directory so I assume its not a php issue as much as maybe a server issue ??? really unsure here... any help or sugguestions would be awsome. Kinda new at windows server admin stuff so it could be a small oversite on my part. Quote Link to comment Share on other sites More sharing options...
Solution scootstah Posted July 19, 2015 Solution Share Posted July 19, 2015 Probably a file permission issue. Turn error reporting on at the top of your script, before anything else. ini_set('display_errors', 1); error_reporting(-1); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.