Re: file uploading

From: Date: Sun, 20 Jul 2003 11:03:50 +0000
Subject: Re: file uploading
References: 1 2 3  Groups: php.windows 
Request: Send a blank email to php-windows+get-20838@lists.php.net to get a copy of this message
It is indeed a HTML/Browser issue... I'm not sure if the filename in the source can be setup by javascript due to security problems (if it was, a malicious web site could receive all the of the user computer that have a known location). For file upload you can check: http://www.php.net/manual/en/features.file-upload.php But, the best solution for your case would thru the use of MOD_FTP, a php extention that allows ftp operations. It is not a standard extention, which means that either php needs to be compiled with it, or if in windows, the .dll and php.ini must be configured correctly (dll placed in extentions directory, and php.ini with the entry in the ";Windows Extensions" area). Cheers, Luis Ferro Achilles Maroulis wrote:
Hi. Is there a way to auto upload some files to the server? It is about an intranet application. One pc uses some external programs for some procedures. The result is a text file wich is stored always in the same folder with the same name to the client pc. Is there a way php can auto-upload that file (when asked to do so) without having to submit a form filled by the user? I don't want to make that folder shared for security reason. Is that an html issue? Thanx in advnace Achilles


« previous php.windows (#20838) next »