Hi,
Here's my issue.. This shouldn't be difficult for someone who knows PHP.. I know only a little bit of it so a solution for this would be appreciated..
On a folder on my server there are pdf files and an index.php page.. Names of pdf files are for example:
2000abcd0001.pdf
2000abcd0002.pdf
etc..
On the index.php file I have a small form e.g.
<form action="" method="post">
<input type="text" name="mypdf_code">
<input type="submit" name="submit_form" value="Download pdf" />
</form>
What I want is when I enter a name of a pdf file in the input box and hit the submit button, to download the respected pdf file.. e.g.
If I enter 2000abcd0002 on the form and hit the button to download the 2000abcd0002.pdf file..
Thanks for taking the time to solve this..
Sincerely,