<?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: Integrate MachForm with a separate php script</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Integrate MachForm with a separate php script</description>
<language>en</language>
<pubDate>Thu, 18 Jun 2026 04:21:53 +0000</pubDate>

<item>
<title>yuniar on "Integrate MachForm with a separate php script"</title>
<link>https://www.machform.com/forums/topic/integrate-machform-with-a-separate-php-script#post-7465</link>
<pubDate>Mon, 28 Sep 2009 14:00:26 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">7465@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;The link doesn't seem to be valid anymore.&#60;br /&#62;
Anyway, this seems to be difficult to investigate here.&#60;/p&#62;
&#60;p&#62;Can you contact us directly please?&#60;br /&#62;
Let me know the FTP login to your machform folder as well.&#60;/p&#62;
&#60;p&#62;I believe this can be solved easily.&#60;br /&#62;
Please send to: customer.service [at] appnitro.com
&#60;/p&#62;</description>
</item>
<item>
<title>johnfox on "Integrate MachForm with a separate php script"</title>
<link>https://www.machform.com/forums/topic/integrate-machform-with-a-separate-php-script#post-7424</link>
<pubDate>Fri, 25 Sep 2009 23:48:55 +0000</pubDate>
<dc:creator>johnfox</dc:creator>
<guid isPermaLink="false">7424@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Ok, my dir is: &#60;code&#62;define('UPLOAD_DIR', './uploadlogo')&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Then I created a new form only with one file upload field and I have the same error.&#60;/p&#62;
&#60;p&#62;Here's the link to the form: &#60;a href=&#34;http://www.airplanepeanuts.com/machform/view.php?id=6&#34;&#62;http://www.airplanepeanuts.com/machform/view.php?id=6&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Integrate MachForm with a separate php script"</title>
<link>https://www.machform.com/forums/topic/integrate-machform-with-a-separate-php-script#post-7421</link>
<pubDate>Fri, 25 Sep 2009 17:24:43 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">7421@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;When you changed the UPLOAD_DIR setting, is the form already created or not?&#60;br /&#62;
Try to create a new form with a single file upload field then test uploading small files.&#60;/p&#62;
&#60;p&#62;Let me know how it goes.
&#60;/p&#62;</description>
</item>
<item>
<title>johnfox on "Integrate MachForm with a separate php script"</title>
<link>https://www.machform.com/forums/topic/integrate-machform-with-a-separate-php-script#post-7413</link>
<pubDate>Fri, 25 Sep 2009 09:02:59 +0000</pubDate>
<dc:creator>johnfox</dc:creator>
<guid isPermaLink="false">7413@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Anyone have any ideas why this isn't working? I'm not even able to access different folders inside machforms folder.
&#60;/p&#62;</description>
</item>
<item>
<title>johnfox on "Integrate MachForm with a separate php script"</title>
<link>https://www.machform.com/forums/topic/integrate-machform-with-a-separate-php-script#post-7398</link>
<pubDate>Thu, 24 Sep 2009 02:51:40 +0000</pubDate>
<dc:creator>johnfox</dc:creator>
<guid isPermaLink="false">7398@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;the folder uploadedlogo has 777 permissions and I changed the path to:&#60;br /&#62;
&#60;code&#62;define(&#38;#39;UPLOAD_DIR&#38;#39;, &#38;#39;/home/airplane/public_html/uploadedlogo&#38;#39;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Got the following error:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;Warning: move_uploaded_file(/home/airplane/public_html/uploadedlogo/form_1/files/element_1_38f055dc79c7e2ea5845f562f9567085-19-1252589718-nchsaa.gif) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/airplane/public_html/machform/includes/post-functions.php on line 1036

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move &#38;#39;/tmp/phpiPfQ5V&#38;#39; to &#38;#39;/home/airplane/public_html/uploadedlogo/form_1/files/element_1_38f055dc79c7e2ea5845f562f9567085-19-1252589718-nchsaa.gif&#38;#39; in /home/airplane/public_html/machform/includes/post-functions.php on line 1036

Warning: Cannot modify header information - headers already sent by (output started at /home/airplane/public_html/machform/includes/post-functions.php:1036) in /home/airplane/public_html/machform/view.php on line 41&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The file path seems to be correct, any other ideas why this may not be working?&#60;/p&#62;
&#60;p&#62;Oh and about the HttpClient class: That will be able to send all the form data to a php script in a different location on my server? Just double-checking&#60;/p&#62;
&#60;p&#62;In the php script receiving that data, it's retrieved using the Post method correct?&#60;/p&#62;
&#60;p&#62;Thank you very much for the help!
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Integrate MachForm with a separate php script"</title>
<link>https://www.machform.com/forums/topic/integrate-machform-with-a-separate-php-script#post-7395</link>
<pubDate>Wed, 23 Sep 2009 21:02:05 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">7395@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;try to change this code :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;define(&#38;#39;UPLOAD_DIR&#38;#39;, &#38;#39;/public_html/uploadedlogo&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;define(&#38;#39;UPLOAD_DIR&#38;#39;, &#38;#39;/home/airplane/public_html/uploadedlogo&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and make sure &#34;uploadedlogo&#34; folder have write and read permission on it.
&#60;/p&#62;</description>
</item>
<item>
<title>johnfox on "Integrate MachForm with a separate php script"</title>
<link>https://www.machform.com/forums/topic/integrate-machform-with-a-separate-php-script#post-7394</link>
<pubDate>Wed, 23 Sep 2009 20:43:01 +0000</pubDate>
<dc:creator>johnfox</dc:creator>
<guid isPermaLink="false">7394@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I changed the Upload_Dir to:&#60;br /&#62;
&#60;code&#62;define(&#38;#39;UPLOAD_DIR&#38;#39;, &#38;#39;/public_html/uploadedlogo&#38;#39;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;But I get the following error:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;Warning: move_uploaded_file(/public_html/uploadedlogo/form_1/files/element_1_a3b49bc74a7e1f86094194a5aa89d5dd-18-1252589718-nchsaa.gif) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/airplane/public_html/machform/includes/post-functions.php on line 1036

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move &#38;#39;/tmp/phptRJO8Y&#38;#39; to &#38;#39;/public_html/uploadedlogo/form_1/files/element_1_a3b49bc74a7e1f86094194a5aa89d5dd-18-1252589718-nchsaa.gif&#38;#39; in /home/airplane/public_html/machform/includes/post-functions.php on line 1036

Warning: Cannot modify header information - headers already sent by (output started at /home/airplane/public_html/machform/includes/post-functions.php:1036) in /home/airplane/public_html/machform/view.php on line 4&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;What am I doing wrong?&#60;/p&#62;
&#60;p&#62;Thanks for the help!
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Integrate MachForm with a separate php script"</title>
<link>https://www.machform.com/forums/topic/integrate-machform-with-a-separate-php-script#post-7392</link>
<pubDate>Wed, 23 Sep 2009 13:01:21 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">7392@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;For your questions : &#60;/p&#62;
&#60;p&#62;1. To change upload folder , you can edit &#34;config.php&#34; file and search for this code :&#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;change the value with your folder path, for example &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;define(&#38;#39;UPLOAD_DIR&#38;#39;, &#38;#39;/public_html/form_files&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;2. I'm afraid this is not possible&#60;/p&#62;
&#60;p&#62;3. You can use 'HttpClient' class to do this, check this post for details :&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.appnitro.com/forums/topic/aweber-integration?replies=7&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/forums/topic/aweber-integration?replies=7&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>johnfox on "Integrate MachForm with a separate php script"</title>
<link>https://www.machform.com/forums/topic/integrate-machform-with-a-separate-php-script#post-7383</link>
<pubDate>Tue, 22 Sep 2009 06:10:15 +0000</pubDate>
<dc:creator>johnfox</dc:creator>
<guid isPermaLink="false">7383@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hello,&#60;br /&#62;
In MachForm I need to be able to do the following: &#60;/p&#62;
&#60;p&#62;1) Save an uploaded picture to a folder I specify&#60;/p&#62;
&#60;p&#62;2) I need to change the way uploaded file names are currently named. I seems that MachForms generates a random string for file names, and my clients demand that I follow their naming format.&#60;/p&#62;
&#60;p&#62;3) I need to pass the form data to a separate php script which is executed when the user submits the form. The PHP script is in a different folder from MachForms.&#60;/p&#62;
&#60;p&#62;All help is greatly appreciated
&#60;/p&#62;</description>
</item>

</channel>
</rss>
