<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Processing Forms with PHP, a Beginner&#8217;s Guide</title>
	<atom:link href="http://www.joedolson.com/articles/2007/02/processing-forms-with-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/</link>
	<description>Tips and Commentary on Web Accessibility, Usability, and Search Marketing best practices.</description>
	<pubDate>Sat, 11 Oct 2008 17:41:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>By: Joe Dolson</title>
		<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-23780</link>
		<dc:creator>Joe Dolson</dc:creator>
		<pubDate>Mon, 14 Jan 2008 23:20:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-23780</guid>
		<description>Well, from what you've said, I think that all you really need to do is change the way the CSS information is written. It looks to me like the regular expression which Smarty templating uses to identify Smarty tags is seeing &lt;code&gt;{float:none;}&lt;/code&gt; as a Smarty template tag. If you were to change it to:

&lt;pre&gt;
&lt;code&gt;
#menu {
float: none;
}
&lt;/code&gt;
&lt;/pre&gt;

Then, I bet that Smarty wouldn't throw that error. Give it a try, at any rate.</description>
		<content:encoded><![CDATA[<p>Well, from what you&#8217;ve said, I think that all you really need to do is change the way the <acronym title="Cascading Style Sheets">CSS</acronym> information is written. It looks to me like the regular expression which Smarty templating uses to identify Smarty tags is seeing <code>{float:none;}</code> as a Smarty template tag. If you were to change it to:</p>
<pre>
<code>
#menu {
float: none;
}
</code>
</pre>
<p>Then, I bet that Smarty wouldn&#8217;t throw that error. Give it a try, at any&nbsp;rate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cristian</title>
		<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-23779</link>
		<dc:creator>Cristian</dc:creator>
		<pubDate>Mon, 14 Jan 2008 18:02:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-23779</guid>
		<description>Hello. Can I make PHP skip a number of lines in the html page? There is an IE fix for a drop-down menu that's causing an error.

The script:

&lt;!--[if IE]&#62;--&gt;

#menu{float:none;} /* This is required for IE to avoid positioning bug when placing content first in source. */
/* IE Menu CSS */
/* csshover.htc file version: V1.21.041022 - Available for download from: http://www.xs4all.nl/~peterned/csshover.html */
body{behavior:url(/css/csshover.htc);
font-size:100%; /* to enable text resizing in IE */
}
#menu ul li{float:left; width: 100%;}
#menu h2, #menu a{height:1%;font:bold 0.7em/1.4em arial,helvetica,sans-serif;}



The error:

Fatal error: Smarty: [in ./templates/tmpl1/index.tpl.html line 8]: syntax error: unrecognized tag: float:none; (smarty_compiler.class.php, line 417) in /home/rzeg3143/public_html/smarty/smarty_compiler.class.php on line 2062</description>
		<content:encoded><![CDATA[<p>Hello. Can I make <acronym title="Hypertext PreProcessing">PHP</acronym> skip a number of lines in the <acronym title="HyperText Markup Language">HTML</acronym> page? There is an <acronym title="Internet Explorer">IE</acronym> fix for a drop-down menu that&#8217;s causing an error.</p>
<p>The script:</p>
<p><!--[if IE]&gt;--></p>
<p>#menu{float:none;} /* This is required for <acronym title="Internet Explorer">IE</acronym> to avoid positioning bug when placing content first in source. */<br />
/* <acronym title="Internet Explorer">IE</acronym> Menu <acronym title="Cascading Style Sheets">CSS</acronym> */<br />
/* csshover.htc file version: V1.21.041022 - Available for download from: <a href="http://www.xs4all.nl/~peterned/csshover.html">http://www.xs4all.nl/~peterned/csshover.html</a> */<br />
body{behavior:<acronym title="Uniform Resource Locator">URL</acronym>(/css/csshover.htc);<br />
font-size:100%; /* to enable text resizing in <acronym title="Internet Explorer">IE</acronym> */<br />
}<br />
#menu ul li{float:left; width: 100%;}<br />
#menu h2, #menu a{height:1%;font:bold 0.7em/1.4em arial,helvetica,sans-serif;}</p>
<p>The error:</p>
<p>Fatal error: Smarty: [in ./templates/tmpl1/index.tpl.html line 8]: syntax error: unrecognized tag: float:none; (smarty_compiler.class.php, line 417) in /home/rzeg3143/public_html/smarty/smarty_compiler.class.php on line&nbsp;2062</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Dolson</title>
		<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-23200</link>
		<dc:creator>Joe Dolson</dc:creator>
		<pubDate>Wed, 31 Oct 2007 15:46:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-23200</guid>
		<description>Thanks, Matt! Glad to be able to help.</description>
		<content:encoded><![CDATA[<p>Thanks, Matt! Glad to be able to&nbsp;help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Dabbert</title>
		<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-23179</link>
		<dc:creator>Matt Dabbert</dc:creator>
		<pubDate>Wed, 31 Oct 2007 07:18:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-23179</guid>
		<description>Thanks Joe!!  I found this form processing article much easier to follow than similar articles on the web.  Keep up the good work.</description>
		<content:encoded><![CDATA[<p>Thanks Joe!!  I found this form processing article much easier to follow than similar articles on the web.  Keep up the good&nbsp;work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Dolson</title>
		<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-16186</link>
		<dc:creator>Joe Dolson</dc:creator>
		<pubDate>Sat, 09 Jun 2007 15:40:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-16186</guid>
		<description>Well, it does sounds like you're missing the "From:" address information in your script. Since it seems like that information is ALSO missing from your php configuration files, the mail() function won't know how to send the message.

You'll need to make certain that your headers statement used in the mail() function includes a From: header or modify your PHP.ini file to offer a default. 

I suggest reading the &lt;a href="http://us.php.net/manual/en/ref.mail.php"&gt;PHP Mail function reference&lt;/a&gt; at PHP.net for help.</description>
		<content:encoded><![CDATA[<p>Well, it does sounds like you&#8217;re missing the &#8220;From:&#8221; address information in your script. Since it seems like that information is ALSO missing from your <acronym title="Hypertext PreProcessing">PHP</acronym> configuration files, the mail() function won&#8217;t know how to send the message.</p>
<p>You&#8217;ll need to make certain that your headers statement used in the mail() function includes a From: header or modify your <acronym title="Hypertext PreProcessing">PHP</acronym>.ini file to offer a default. </p>
<p>I suggest reading the <a href="http://us.php.net/manual/en/ref.mail.php"><acronym title="Hypertext PreProcessing">PHP</acronym> Mail function reference</a> at <acronym title="Hypertext PreProcessing">PHP</acronym>.net for&nbsp;help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roshan</title>
		<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-16128</link>
		<dc:creator>roshan</dc:creator>
		<pubDate>Fri, 08 Jun 2007 05:57:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-16128</guid>
		<description>i am having problem with sending mails. I am getting error like 

mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in c:\wamp\www\mail\mail.php on line
 
also when i kept the smtp=192.168.1.xx it works for lan only but fails in global domain. 

Please help me to solve this problem. Do I need any extra codings for sending mail?</description>
		<content:encoded><![CDATA[<p>i am having problem with sending mails. I am getting error like </p>
<p>mail() [function.mail]: &#8220;sendmail_from&#8221; not set in <acronym title="Hypertext PreProcessing">PHP</acronym>.ini or custom &#8220;From:&#8221; header missing in c:\wamp\www\mail\mail.php on line</p>
<p>also when i kept the smtp=192.168.1.xx it works for lan only but fails in global domain. </p>
<p>Please help me to solve this problem. Do I need any extra codings for sending&nbsp;mail?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Dolson</title>
		<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-11596</link>
		<dc:creator>Joe Dolson</dc:creator>
		<pubDate>Fri, 09 Mar 2007 16:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-11596</guid>
		<description>Well, XML is kind of a different beast.  What you can do with it depends on what version of PHP you're using - PHP 5 has built in XML parsing functions, PHP 4.3 and below have XML handling functions as an extension --- available, but not necessarily installed in your version of XML.

The easiest way is generally to parse the XML information into an array, replace the elements you want to update, and then write the whole thing back to the file, replacing the previous information.

You may want to consider finding a script to parse and edit XML documents.  I haven't used it, but &lt;a href="http://www.ister.org/code/xml22/index.html"&gt;XML22&lt;/a&gt; might do the trick for you.</description>
		<content:encoded><![CDATA[<p>Well, <acronym title="eXtensible Markup Language">XML</acronym> is kind of a different beast.  What you can do with it depends on what version of <acronym title="Hypertext PreProcessing">PHP</acronym> you&#8217;re using - <acronym title="Hypertext PreProcessing">PHP</acronym> 5 has built in <acronym title="eXtensible Markup Language">XML</acronym> parsing functions, <acronym title="Hypertext PreProcessing">PHP</acronym> 4.3 and below have <acronym title="eXtensible Markup Language">XML</acronym> handling functions as an extension&thinsp;&#8212;&thinsp;- available, but not necessarily installed in your version of <acronym title="eXtensible Markup Language">XML</acronym>.</p>
<p>The easiest way is generally to parse the <acronym title="eXtensible Markup Language">XML</acronym> information into an array, replace the elements you want to update, and then write the whole thing back to the file, replacing the previous information.</p>
<p>You may want to consider finding a script to parse and edit <acronym title="eXtensible Markup Language">XML</acronym> documents.  I haven&#8217;t used it, but <a href="http://www.ister.org/code/xml22/index.html">XML22</a> might do the trick for&nbsp;you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-11585</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Fri, 09 Mar 2007 13:07:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-11585</guid>
		<description>Thanks for the understandable and helpful article. I just have one question... As I understood, files can only be edited by PHP either at the top of the file or at the bottom... So how would I go about editing an XML file (feed), which needs to have opening/closing tags at the top and bottom? Can I make the PHP skip a few lines before throwing in the information?

Thanks.</description>
		<content:encoded><![CDATA[<p>Thanks for the understandable and helpful article. I just have one question&#8230; As I understood, files can only be edited by <acronym title="Hypertext PreProcessing">PHP</acronym> either at the top of the file or at the bottom&#8230; So how would I go about editing an <acronym title="eXtensible Markup Language">XML</acronym> file (feed), which needs to have opening/closing tags at the top and bottom? Can I make the <acronym title="Hypertext PreProcessing">PHP</acronym> skip a few lines before throwing in the information?&nbsp;Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Dolson</title>
		<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-7640</link>
		<dc:creator>Joe Dolson</dc:creator>
		<pubDate>Fri, 09 Feb 2007 16:04:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-7640</guid>
		<description>Cool! Glad to be timely :)</description>
		<content:encoded><![CDATA[<p>Cool! Glad to be timely&nbsp;:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cath</title>
		<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-7613</link>
		<dc:creator>Cath</dc:creator>
		<pubDate>Fri, 09 Feb 2007 06:53:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-7613</guid>
		<description>Thanks Joe, this is a very timely tutorial for me.</description>
		<content:encoded><![CDATA[<p>Thanks Joe, this is a very timely tutorial for&nbsp;me.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
