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







-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



  • ... Scott Hurring
    • ... Peter Finch
  • ... Nick Chorley
  • ... Шестаков Николай
  • ... Miha Nedok
    • ... Robert Hawke
    • ... Luis Ferro
      • ... Achilles Maroulis
        • Luis Ferro

Reply via email to