|
-
Downloading a resume from folder in localhost.
Hello,
I want to download a resume from folder in localhost ->wamp -> www ->resumes.
Here is the codings,
<?php
mysql_connect("localhost","root","");
mysql_select_db("sample");
?>
<?php
if(isset($_GET['id']))
{
$id = $_GET['id'];
$query = mysql_query("SELECT file FROM testing WHERE file='$file' ");
$row = mysql_fetch_array($query);
}
?>
<a href='resumes/'<?= $row['file'] ?>Download</a>
it works,and it shows all the resumes from folder.but i want to download a corresponding resume with help of email address.
If anyone knows let me know.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks