<?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: advanced code error</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: advanced code error</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 02:04:12 +0000</pubDate>

<item>
<title>susanfw on "advanced code error"</title>
<link>https://www.machform.com/forums/topic/advanced-code-error#post-6122</link>
<pubDate>Sat, 06 Jun 2009 09:49:48 +0000</pubDate>
<dc:creator>susanfw</dc:creator>
<guid isPermaLink="false">6122@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thank you so much. That was it.&#60;br /&#62;
Susan
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "advanced code error"</title>
<link>https://www.machform.com/forums/topic/advanced-code-error#post-6120</link>
<pubDate>Sat, 06 Jun 2009 09:30:50 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">6120@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;it seems this line have invalid path :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;require(&#38;quot;/machform.php&#38;quot;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;try to add your document root path in there, for example :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;require(&#38;quot;D:/inetpub/pinecrestschools/machform/machform.php&#38;quot;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>susanfw on "advanced code error"</title>
<link>https://www.machform.com/forums/topic/advanced-code-error#post-6115</link>
<pubDate>Fri, 05 Jun 2009 20:41:41 +0000</pubDate>
<dc:creator>susanfw</dc:creator>
<guid isPermaLink="false">6115@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Yes, the form is in the same domain as machform. And it looks like the path is correct:&#60;br /&#62;
&#38;lt;?php&#60;br /&#62;
	require(&#34;/machform.php&#34;);&#60;br /&#62;
	$mf_param['form_id'] = 2;&#60;br /&#62;
	$mf_param['base_path'] = 'http://www.pinecrestschools.com/machform/';&#60;br /&#62;
	display_machform($mf_param);&#60;br /&#62;
?&#38;gt;
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "advanced code error"</title>
<link>https://www.machform.com/forums/topic/advanced-code-error#post-6113</link>
<pubDate>Fri, 05 Jun 2009 19:48:22 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">6113@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Do you embed the form in same domain with machform ? and make sure your base path value already set properly, the format should be like this :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$mf_param[&#38;#39;base_path&#38;#39;] = &#38;#39;http://yourdomain.com/machform_folder/&#38;#39;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;or &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$mf_param[&#38;#39;base_path&#38;#39;] = &#38;#39;your_document_root&#38;#39;;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>susanfw on "advanced code error"</title>
<link>https://www.machform.com/forums/topic/advanced-code-error#post-6109</link>
<pubDate>Fri, 05 Jun 2009 10:34:33 +0000</pubDate>
<dc:creator>susanfw</dc:creator>
<guid isPermaLink="false">6109@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I'd like to use the advanced code, but I receiving the following error when I place the code in a php page:&#60;br /&#62;
Fatal error: main() [function.require]: Failed opening required '/machform.php' (include_path='.;c:\php4\pear') in D:\inetpub\pinecrestschools\pinecrest09\employment2.php on line 2&#60;/p&#62;
&#60;p&#62;I'm on a Windows server. I'm not sure if that's related.&#60;br /&#62;
Thank you&#60;br /&#62;
Susan
&#60;/p&#62;</description>
</item>

</channel>
</rss>
