<?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: Upload function. Pre sale question</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Upload function. Pre sale question</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 02:47:01 +0000</pubDate>

<item>
<title>Saghalie on "Upload function. Pre sale question"</title>
<link>https://www.machform.com/forums/topic/upload-function-pre-sale-question#post-5962</link>
<pubDate>Sat, 23 May 2009 20:03:51 +0000</pubDate>
<dc:creator>Saghalie</dc:creator>
<guid isPermaLink="false">5962@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Just re-upload the original file.  If you don't have it; just download the original software from the download section of your login.&#60;/p&#62;
&#60;p&#62;Saghalie
&#60;/p&#62;</description>
</item>
<item>
<title>getnbye on "Upload function. Pre sale question"</title>
<link>https://www.machform.com/forums/topic/upload-function-pre-sale-question#post-5960</link>
<pubDate>Sat, 23 May 2009 15:54:08 +0000</pubDate>
<dc:creator>getnbye</dc:creator>
<guid isPermaLink="false">5960@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Ok.. now I've went and done it and blown my stuff up.  :)&#60;/p&#62;
&#60;p&#62;I followed the directions for setting a file size and file type limit and now upon submitting a form it blows up.&#60;/p&#62;
&#60;p&#62;  &#60;a href=&#34;http://www.65gs.com/form/view.php?id=2&#34; rel=&#34;nofollow&#34;&#62;http://www.65gs.com/form/view.php?id=2&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It started when I left a single upload box empty and it came back with a message that this file type is not acceptable although there was nothing in the field... so basically a blank field was unacceptalbe?&#60;/p&#62;
&#60;p&#62;Now even when I put things in the upload fields, it's still not working correctly.&#60;/p&#62;
&#60;p&#62;Here is my error message -  &#60;/p&#62;
&#60;p&#62;Warning: call_user_func(validate_required) [function.call-user-func]: First argument is expected to be a valid callback in /home4/granspor/public_html/form/includes/common-validator.php on line 401&#60;/p&#62;
&#60;p&#62;Warning: Cannot modify header information - headers already sent by (output started at /home4/granspor/public_html/form/includes/common-validator.php:401) in /home4/granspor/public_html/form/view.php on line 51&#60;/p&#62;
&#60;p&#62;I have no idea what is going on and now when I bring up a new form, the data I put into the form before the crash is still there.&#60;/p&#62;
&#60;p&#62;I've been going back through and trying to reverse all the changes I've made.  One thing I need to verify is what a standard includes/common-validator.php file looks like from lines 29 - 41&#60;/p&#62;
&#60;p&#62;Thank you,&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Upload function. Pre sale question"</title>
<link>https://www.machform.com/forums/topic/upload-function-pre-sale-question#post-5755</link>
<pubDate>Wed, 06 May 2009 17:28:49 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">5755@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Chris,&#60;/p&#62;
&#60;p&#62;For you questions :&#60;/p&#62;
&#60;p&#62;1. To limit upload file type you need to edit &#34;config.php&#34; file, in there you will see this code :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;define(&#38;#39;UPLOAD_FILETYPE_ALLOW&#38;#39;,&#38;#39;&#38;#39;); //allow only these filetypes to be uploaded&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;change to &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;define(&#38;#39;UPLOAD_FILETYPE_ALLOW&#38;#39;,&#38;#39;jpg;gif;bmp;tiff&#38;#39;); //allow only these filetypes to be uploaded&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;2. You can follow this post to set limit validation for your upload field&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.appnitro.com/forums/topic/file-size-error-message?replies=3#post-4082&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/forums/topic/file-size-error-message?replies=3#post-4082&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;3. Simply edit your &#34;config.php&#34; file and change for this setting ( by default uploaded file stored in &#34;machform data&#34; folder) :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;define(&#38;#39;UPLOAD_DIR&#38;#39;, &#38;#39;./data&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;anyway thank's for your nice word :)
&#60;/p&#62;</description>
</item>
<item>
<title>getnbye on "Upload function. Pre sale question"</title>
<link>https://www.machform.com/forums/topic/upload-function-pre-sale-question#post-5747</link>
<pubDate>Wed, 06 May 2009 11:33:07 +0000</pubDate>
<dc:creator>getnbye</dc:creator>
<guid isPermaLink="false">5747@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I had these same questions so I performed a search and found this link.  The question I have now is how do I perform these tasks?&#60;/p&#62;
&#60;p&#62;1. Limit to only certian file types (.jpg / .gif / .bmp / .tiff)?&#60;/p&#62;
&#60;p&#62;2. Limit each upload section.  I have five total upload sections, how can I put a limit on each or does the limit cover the total size of all uploads?&#60;/p&#62;
&#60;p&#62;3. How do I change the directory that all uploads are kept in?&#60;/p&#62;
&#60;p&#62;Just one quick comment.. Great Job to the Appnitro team and Thank You for being so quick to answer the many questions sent to you!  I've never dealt with a team so focused on helping the customer.&#60;/p&#62;
&#60;p&#62;I've passed nothing but praise to my friends in the business and I hope this generates many new orders for you as you've deserved it.  &#60;/p&#62;
&#60;p&#62;It's great to deal with a company that still values the customer and their experience with the product.   &#60;/p&#62;
&#60;p&#62;Thank you,&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Upload function. Pre sale question"</title>
<link>https://www.machform.com/forums/topic/upload-function-pre-sale-question#post-5100</link>
<pubDate>Thu, 19 Mar 2009 18:40:37 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">5100@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;1. Yes&#60;/p&#62;
&#60;p&#62;2. No, this can't be set from MachForm, you'll need to modify your php.ini file or use .htaccess file (depends on your hosting policy though, some company doesn't even allow you to modify anything).&#60;/p&#62;
&#60;p&#62;3. Yes&#60;/p&#62;
&#60;p&#62;4. Yes
&#60;/p&#62;</description>
</item>
<item>
<title>normanm4 on "Upload function. Pre sale question"</title>
<link>https://www.machform.com/forums/topic/upload-function-pre-sale-question#post-5094</link>
<pubDate>Thu, 19 Mar 2009 02:19:43 +0000</pubDate>
<dc:creator>normanm4</dc:creator>
<guid isPermaLink="false">5094@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Using the &#34;upload&#34;  choice am I able to: 1.  limit the file types 2. determine the file size limits 3. determine the directory to which the uploads go 4. offer multiple upload field? &#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
