Thanks for answering Chris.. What if I want to send a file from my web server to another site for them to parse? I already know what file I want to send and I do not want to have to select the file by doing "browsing". "Chris" <listschris@xxxxxxxxxxxxxxx> wrote in message news:417D6F36.4000509@xxxxxxxxxxxxxxxxxx > You can't, at least you SHOULDN'T. Just think about what you're asking > for, you want to download a file from a users computer, without them > knowing about it. > > Major security/privacy issues there that browsers try to prevent. > > Chris > > Victor C. wrote: > > >Hi, > > > >I'm trying to submit a file from "index.php" to "index2.php". I know how to > >do file upload in PHP. On "index.php" > >I have: > > > ><FORM ACTION="index2.php" METHOD=POST > > ENCTYPE="multipart/form-data"> > ><INPUT TYPE="file" NAME="myfile" SIZE=30> > ><INPUT TYPE="submit" NAME="Upload File"> > ></FORM> > > > >The next page would only need to use $HTTP_POST_FILES['myfile'] to access > >the submitted file. > > > >My question is: if I already know which file I want to submit, say > >"file1.xml". How can I just ask "index.php" > >to submit "file1.xml" to "index2.php"? Without asking the users to pick the > >file to upload? > > > >Thanks a lot in advance! > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php