<?xml version="1.0" encoding="UTF-8" standalone="yes"?><oembed><version><![CDATA[1.0]]></version><provider_name><![CDATA[David Hendler&#039;s Writing]]></provider_name><provider_url><![CDATA[https://freetaco.wordpress.com]]></provider_url><author_name><![CDATA[David Hendler]]></author_name><author_url><![CDATA[https://freetaco.wordpress.com/author/davidhendler/]]></author_url><title><![CDATA[php grab bag: more stepping stones for project&nbsp;X]]></title><type><![CDATA[link]]></type><html><![CDATA[<p>Here&#8217;s one that we&#8217;ve come across before, and used before, and yet we had to learn this little business again: <a href="http://us3.php.net/manual/en/function.addslashes.php"><strong>addslashes()</strong></a>. Use addslashes when you want your forms to take in whatever a user inputs to your forms. We used this previously to help thwart hacker attacks &#8212; using addslashes prevents users from inputting SQL code into your forms and screwing up your databases. Anyway, Harry Feucks makes a strong point about using <a href="http://www.webmasterstop.com/63.html">addslashes vs. magic quotes</a>.</p>
<p>We used a handy bit of a hack from A List Apart for aligning a form without tables, <a href="http://alistapart.com/stories/practicalcss/">aligning a form with CSS</a> using cross-floats and such.</p>
<p>We found some <a href="http://www.tizag.com/phpT/">offhand PHP tutorials</a> at tizag helpful this time around. They have an interesting argument for <a href="http://www.tizag.com/aspTutorial/aspVersusPHP.php">ASP v. PHP</a>, though we have used both and find PHP to be perfectly great and robust for any size project. We also found their <a href="http://www.tizag.com/mysqlTutorial/mysqlwhere.php">MySQL tutorials</a> helpful as well.</p>
<p>Lastly, we have had some code examples from PHP freaks on our desktop for a while. We haven;t tried any of them, but we wanted to make sure they were noted before the links went away. There is their<a href="http://www.phpfreaks.com/tutorials/6/1.php"> PHP hit counter</a>. Their <a href="http://www.phpfreaks.com/tutorials/58/0.php">expanding and collapsing menus</a> look interested (and might be helpful in another project where Eric Meyer&#8217;s menus don;t seem to be cutting the muster). And then there is their <a href="http://www.phpfreaks.com/tutorials/83/0.php">PHP calendar</a>, though we have been loving <a href="http://phpicalendar.net/">PHP iCalendar</a> (except for a few small bits we&#8217;d rather not get into right now).</p>
]]></html></oembed>