I am developing a wordpress site (http://new.saffronresourcing.com/candidates/) where candidates who wants to apply for jobs will be able to upload their cv along with their personal details. I already created custom content type for job list which will be used for job listing. it working fine. Now there is a "apply now" button attached to all job listing. Problem is
when user clicks apply button, it goes to another page named uploadcv.php. Question is when I'm in uploadcv.page, I have no way to find which job listing page user came from. So I need a reference variable which will hold the current page job list ref. number and when user clicks apply now button it will carry out that variable and move to uploadcv.php page so I can save the details to the database along with that job reference number.
Is there any idea how to get the current page URL and pass to the next page?
Now as I said earlier candidates will upload their cv, I'm not sure whether how I am gonna add this CV (type .doc, .pdf) into mysql database. Is their any special code to insert the .pdf or .doc file to the database ?
And when the information will be added to the database , I also need to retrieve those details and display in wordpress dashboard so the admin of the site can view which candidates applied for which jobs. So i'm looking for some kind of options panel or candidates lists page where the data will come from database.
So in a nutshell, Please let me know if you guys know how to
get the current page URL and pass to next page insert the values from details entry form to database and retrieve the values and display into dashboard, somewhere in dashboard so admin can view the candidates list. I'm aware there is a plugin exists wp job manager, but I have no clue how to use this plugin, couldn't find a proper documentation. So I decided I will not use this plugin and write code by myself. If you guys know about this plugin, let me know how did you use this for job listing purpose.
Thanx in advance.