<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: File Upload Directory Question....</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: File Upload Directory Question....</description>
<language>en</language>
<pubDate>Sat, 06 Jun 2026 17:35:17 +0000</pubDate>

<item>
<title>AMurray on "File Upload Directory Question...."</title>
<link>https://www.machform.com/forums/topic/file-upload-directory-question#post-7167</link>
<pubDate>Wed, 02 Sep 2009 16:28:23 +0000</pubDate>
<dc:creator>AMurray</dc:creator>
<guid isPermaLink="false">7167@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;It is possible, but creating the folder outside the root is not a function of Machform, you do this through your hosting company (an FTP client) or hosting CPanel etc.&#60;/p&#62;
&#60;p&#62;Additionally when you've done that you need to specify the path to that folder so Machform knows where to store the files.&#60;/p&#62;
&#60;p&#62;/** Data folder **/&#60;br /&#62;
/** Folder settings for your CSS files and upload folder **/&#60;br /&#62;
define('DATA_DIR', './yourfolder');  //CSS files folder&#60;br /&#62;
define('UPLOAD_DIR', './yourfolder'); //for maximum security, set full path to any folder outside your document root.&#60;/p&#62;
&#60;p&#62;You might have to ask your host &#34;how&#34; to specify a folder above your public_html folder - outside the home directory for your webspace.&#60;/p&#62;
&#60;p&#62;Regarding other half of the question, it's not possible to have the &#34;log on&#34; function not work (e.g. as you have stated for your managers to view the job applications without the need to log on to the Admin area since the &#34;view entries&#34; (and download files) is really part of the &#34;admin&#34; functionality in this application.&#60;/p&#62;
&#60;p&#62;You could duplicate the relevant file(s) remove the &#34;start_session();&#34; (which is what checks the logged on status) and somehow get the email link to the file to reference the 'unprotected' version of the view-entries page.  &#60;/p&#62;
&#60;p&#62;However, if someone were to learn the URL (other than the Super/Managers to the unprotected view-entries.php, they could just directly browse to that file, execute the script as normal and subsequently access the job application files.
&#60;/p&#62;</description>
</item>
<item>
<title>edparrott on "File Upload Directory Question...."</title>
<link>https://www.machform.com/forums/topic/file-upload-directory-question#post-7164</link>
<pubDate>Wed, 02 Sep 2009 10:52:12 +0000</pubDate>
<dc:creator>edparrott</dc:creator>
<guid isPermaLink="false">7164@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi again, Folks! I am wondering if I can assign the File Upload Directory to a Directory outside of the root Machform Directory.&#60;/p&#62;
&#60;p&#62;The reason for this is that I use Machform for Job Applications for the company I work for.  &#60;/p&#62;
&#60;p&#62;These job apps are then emailed to all of the field Superintendents. &#60;/p&#62;
&#60;p&#62;I would like to enable functionality to allow prospective Employee's to upload a resume', then have the Field Super click on the link in the email to retrieve the file - with out granting the Supers access to the Admin part of Machform.&#60;/p&#62;
&#60;p&#62;Soooo...... Would it be possible to create a directory outside of the Machform directory, then assign the upload files to go there?&#60;/p&#62;
&#60;p&#62;It would be easy enough then to protect that outside directory.&#60;/p&#62;
&#60;p&#62;Sorry for rambling so long here.&#60;/p&#62;
&#60;p&#62;Thank You for your help, and a Great App!!&#60;/p&#62;
&#60;p&#62;  -Ed Parrott
&#60;/p&#62;</description>
</item>

</channel>
</rss>
