Jump to content

simple code works on unix, not in windows


code_dreamer
Go to solution Solved by scootstah,

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.