rahulgsp83,
You need to display an HTML form with a file input element, this will allow the user to select a file from their local machine. On the server you need to have a script to accept the form input, and upload the file. Look again at the sample html form, and the perl script which processes the form and uploads the file in Re: I need a simple web upload script. (forget about the email section of this example, it's not required for what you are trying to do).
Martin
| [reply] |
Bear in mind that your cms is what executes the perl script, *not* the user, in the scenario you described. Hence, the user uploads some file to the server, the server does something cool, then the web page with the response is displayed on the user's browser. | [reply] |