Sorry if this is obvious but . . . have you checked whether your server is running in "safe mode"? I had the same problem and finally realized that it would NEVER work cause the webserver was running in safe mode. (Disclaimer here -- I'm no sysadmin and don't know if Linux even has a safemode!)
I'm not sure how to get around this. There are certain specific people I'd like to be able to upload PDFs to the webserver. But I don't want them to have full FTP privileges. I guess one solution would be to find/write an FTP program that you can use to give people limited upload privileges -- for example they can only upload into one specific directory and they can only upload pdfs. I haven't found any such program, so I guess I could write one -- if I knew how to write an ftp program :) PHP has an ftp module I believe, though I'm sure my ISP passed on installing that one. Any ideas, no matter how outlandish, are much appreciated. So many cool things to learn, so little time. Rita -----Original Message----- From: Todd Cary [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 24, 2002 2:12 PM To: [EMAIL PROTECTED] Subject: Uploading a file For some reason, I cannot get the following code to work - the file is not sent to the server. Is there something obviously wrong? I am using Apache on Linux (RH 7.2). Todd <form method="post" name="upload" action="uploadfile.php" enctype="multipart/form-data"> <table border="0" cellpadding="0" cellspacing="0" width="652"> <tr> <td width="40"></td> <td width="197">Submit this file:</td> <td width="409"> <input type="file" name="userfile"> </td> </tr> </table> <div align="center"> <font size="3"><input type="submit"></font> </div> </form> -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]