Php / Apache / OS X Server 10.3.6

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • phatnugs420@comcast.net

    Php / Apache / OS X Server 10.3.6

    I'm having some issues uploading a file using the above configuration. I've
    tried updating the httpd.conf file and had no luck. I'm sure I'm just
    missing something.. Below is the code I'm using. Incidentally when I had
    this on a purely Linux server it worked great... The file path was pretty
    much what it was suppose to be, so I know I must be missing something here..
    Thanks again for your help.

    if($file_name !="")
    {
    copy ("$file", "Library/Webserver/Documents/olcg/$file_name")
    or die("Could not copy file");
    }
    else { die("No file specified"); }



Working...