<?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: BUG? File uploads are not submitted when using PHP Embed Code</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: BUG? File uploads are not submitted when using PHP Embed Code</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 23:30:56 +0000</pubDate>

<item>
<title>got2know on "BUG? File uploads are not submitted when using PHP Embed Code"</title>
<link>https://www.machform.com/forums/topic/bug-file-uploads-are-not-submitted-when-using-php-embed-code#post-21803</link>
<pubDate>Wed, 17 Sep 2014 23:11:56 +0000</pubDate>
<dc:creator>got2know</dc:creator>
<guid isPermaLink="false">21803@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Further to my last post -  I played more with the whole &#34;File Upload Folder&#34; settings and did get it to work using the suggested fix of using the full path.&#60;/p&#62;
&#60;p&#62;The full path name was a little confusing - but then I saw it as part of an earlier portion of the php embed code.  I just inserted the /data portion and all seemed to work.
&#60;/p&#62;</description>
</item>
<item>
<title>got2know on "BUG? File uploads are not submitted when using PHP Embed Code"</title>
<link>https://www.machform.com/forums/topic/bug-file-uploads-are-not-submitted-when-using-php-embed-code#post-21802</link>
<pubDate>Wed, 17 Sep 2014 22:18:51 +0000</pubDate>
<dc:creator>got2know</dc:creator>
<guid isPermaLink="false">21802@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'm on V 4.1 and have just run into the exact same issue as everyone else here (note: I did upgrade from a 3.x version on this install).&#60;/p&#62;
&#60;p&#62;- Form works except files don't upload&#60;br /&#62;
- there is a quick flash of the error message prior to going to the thank you screen (I managed to do a screen capture of it before it flashed off and it's basically the same as rocketmedia's error message.&#60;/p&#62;
&#60;p&#62;File upload works fine in preview mode (I'm assuming preview mode likely does not use a php embed and that's why that works)&#60;/p&#62;
&#60;p&#62;Page's file upload does NOT work with the php embed.&#60;/p&#62;
&#60;p&#62;Page's file upload DOES work with javascript embed.&#60;/p&#62;
&#60;p&#62;I tried to change the ./data path for uploads, but that didn't help (although it's difficult to know what the right path name should be).&#60;/p&#62;
&#60;p&#62; I did check my php.ini settings and Safe Mode was off.  File size not an issue, either.&#60;/p&#62;
&#60;p&#62;So I'm switching to Javascript embed for now - but would like to get the php embed resolved.
&#60;/p&#62;</description>
</item>
<item>
<title>aes on "BUG? File uploads are not submitted when using PHP Embed Code"</title>
<link>https://www.machform.com/forums/topic/bug-file-uploads-are-not-submitted-when-using-php-embed-code#post-20016</link>
<pubDate>Sat, 25 Jan 2014 09:08:44 +0000</pubDate>
<dc:creator>aes</dc:creator>
<guid isPermaLink="false">20016@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;The page is security protected.  If you private message me I will give you temporary login.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "BUG? File uploads are not submitted when using PHP Embed Code"</title>
<link>https://www.machform.com/forums/topic/bug-file-uploads-are-not-submitted-when-using-php-embed-code#post-20014</link>
<pubDate>Sat, 25 Jan 2014 09:04:47 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">20014@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;aes -- can you let me know the URL of your page please? I'll check it.
&#60;/p&#62;</description>
</item>
<item>
<title>aes on "BUG? File uploads are not submitted when using PHP Embed Code"</title>
<link>https://www.machform.com/forums/topic/bug-file-uploads-are-not-submitted-when-using-php-embed-code#post-20002</link>
<pubDate>Sat, 25 Jan 2014 04:16:49 +0000</pubDate>
<dc:creator>aes</dc:creator>
<guid isPermaLink="false">20002@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I am having the same issue and putting the exact path in did not fix the issue.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "BUG? File uploads are not submitted when using PHP Embed Code"</title>
<link>https://www.machform.com/forums/topic/bug-file-uploads-are-not-submitted-when-using-php-embed-code#post-18866</link>
<pubDate>Wed, 31 Jul 2013 18:23:44 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">18866@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;rocketmedia -- try to go to your MachForm Settings page, click &#34;advanced options&#34; and you should see the value of &#34;File Upload Folder&#34; currently being set to &#34;./data&#34;&#60;/p&#62;
&#60;p&#62;Change the above path with the full path to your data folder. For example: &#34;/var/www/html/machform/data&#34;&#60;br /&#62;
I believe that should fix the issue.
&#60;/p&#62;</description>
</item>
<item>
<title>rocketmedia on "BUG? File uploads are not submitted when using PHP Embed Code"</title>
<link>https://www.machform.com/forums/topic/bug-file-uploads-are-not-submitted-when-using-php-embed-code#post-18825</link>
<pubDate>Sat, 27 Jul 2013 00:08:07 +0000</pubDate>
<dc:creator>rocketmedia</dc:creator>
<guid isPermaLink="false">18825@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Yuniar,&#60;/p&#62;
&#60;p&#62;I'm running into the same issue. File uploads are being lost when loaded via the machform embedded with the php embed but they work fine when using the preview link or javascript embed.&#60;br /&#62;
I'm also getting a flash of php errors before the page is forwarded to the thank you page.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
A PHP Error was encountered&#60;br /&#62;
Severity: Warning&#60;br /&#62;
Message: move_uploaded_file(./data/form_1028/files/element_11_81f61f64df54c726ce5beaeeb54dc152-203-test.pdf): failed to open stream: No such file or directory&#60;br /&#62;
Filename: includes/post-function.php&#60;br /&#62;
Line Number:1880
&#60;/p&#62;&#60;/blockquote&#62;
&#60;blockquote&#62;&#60;p&#62;
A PHP Error was encountered&#60;br /&#62;
Severity: Warning&#60;br /&#62;
Message: move_uploaded_file(): Unable to move '/tmp/phpYwY6q2' to './data/form_1028/files/element_11_81f64df54c726ce5beaeeb54c152-203-test.pdf'&#60;br /&#62;
Filename: includes/post-function.php&#60;br /&#62;
Line Number:1880
&#60;/p&#62;&#60;/blockquote&#62;</description>
</item>
<item>
<title>yuniar on "BUG? File uploads are not submitted when using PHP Embed Code"</title>
<link>https://www.machform.com/forums/topic/bug-file-uploads-are-not-submitted-when-using-php-embed-code#post-18529</link>
<pubDate>Fri, 14 Jun 2013 19:03:07 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">18529@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Peter,&#60;/p&#62;
&#60;p&#62;Can you let me know the URL of the page where you embed the form please?&#60;br /&#62;
I'll check it.&#60;/p&#62;
&#60;p&#62;You can contact us directly if you don't want to post it in the forum.&#60;br /&#62;
&#60;a href=&#34;http://www.appnitro.com/contact&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/contact&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>peter4563 on "BUG? File uploads are not submitted when using PHP Embed Code"</title>
<link>https://www.machform.com/forums/topic/bug-file-uploads-are-not-submitted-when-using-php-embed-code#post-18509</link>
<pubDate>Thu, 13 Jun 2013 04:04:42 +0000</pubDate>
<dc:creator>peter4563</dc:creator>
<guid isPermaLink="false">18509@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;FYI: The described issue does not happen when using the Javascript code.
&#60;/p&#62;</description>
</item>
<item>
<title>peter4563 on "BUG? File uploads are not submitted when using PHP Embed Code"</title>
<link>https://www.machform.com/forums/topic/bug-file-uploads-are-not-submitted-when-using-php-embed-code#post-18508</link>
<pubDate>Thu, 13 Jun 2013 03:56:26 +0000</pubDate>
<dc:creator>peter4563</dc:creator>
<guid isPermaLink="false">18508@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I successfully created a form which has a default file upload field (advanced uploader is not selected).&#60;/p&#62;
&#60;p&#62;JPG files upload fine when previewing the form (via /form/view.php?id=# link), or when editing an entry.&#60;/p&#62;
&#60;p&#62;But when I use the PHP Embed Code, the entire form is submitted except the JPG file (which even is a required field).&#60;/p&#62;
&#60;p&#62;Is this a bug in 3.5?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
