Jump to content

simple code works on unix, not in windows


code_dreamer

Recommended Posts

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.