Quote:
Originally posted by ugenn
How does one upload a file to a client in PHP? I'm trying
to implement the following...
user clicks on link (with encoded filepath).
- script validates user
- script validates path
- local path is concatenated with the input path to
locate the file on the local filesystem
- check if the file exists
- how do I send the file to the client.
|
Thanks but that's not what I was really asking.
I'm trying to send from server to client not the other way around.
I figured it had to do with modifying the HTTP header with header() but I can't figure out the exact strings to put into the header() call.