<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta name="Microsoft Theme 2.00" content="Clear Day.htm 011">
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="cid:filelist.xml@01C91E33.48093C60">
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:RelyOnVML/>
<o:AllowPNG/>
<o:DoNotRelyOnCSS/>
<o:TargetScreenSize>1024x768</o:TargetScreenSize>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;
        mso-font-charset:0;
        mso-generic-font-family:script;
        mso-font-pitch:variable;
        mso-font-signature:647 0 0 0 159 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:Arial;
        mso-fareast-font-family:"Times New Roman";}
p.MsoEnvelopeReturn, li.MsoEnvelopeReturn, div.MsoEnvelopeReturn
        {margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:Arial;
        mso-fareast-font-family:"Times New Roman";}
p.MsoMacroText, li.MsoMacroText, div.MsoMacroText
        {mso-style-parent:"";
        margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        tab-stops:24.0pt 48.0pt 1.0in 96.0pt 120.0pt 2.0in 168.0pt 192.0pt 3.0in;
        background:#E0E0E0;
        font-size:10.0pt;
        font-family:"Courier New";
        mso-fareast-font-family:"Times New Roman";}
p.MsoSalutation, li.MsoSalutation, div.MsoSalutation
        {mso-style-next:Normal;
        margin-top:24.0pt;
        margin-right:0in;
        margin-bottom:24.0pt;
        margin-left:0in;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:Arial;
        mso-fareast-font-family:"Times New Roman";}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:Arial;
        mso-fareast-font-family:"Times New Roman";}
p
        {margin-right:0in;
        mso-margin-top-alt:auto;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:Arial;
        mso-fareast-font-family:"Times New Roman";}
span.EmailStyle15
        {mso-style-type:personal-compose;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:#0033CC;}
p.InsideAddress, li.InsideAddress, div.InsideAddress
        {mso-style-name:"Inside Address";
        mso-style-parent:"Envelope Return";
        margin:0in;
        margin-bottom:.0001pt;
        text-align:center;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-fareast-font-family:"Times New Roman";}
p.ReturnAddress, li.ReturnAddress, div.ReturnAddress
        {mso-style-name:"Return Address";
        margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:Arial;
        mso-fareast-font-family:"Times New Roman";}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;
        mso-header-margin:.5in;
        mso-footer-margin:.5in;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:1254318657;
        mso-list-type:hybrid;
        mso-list-template-ids:-1229819522 -1833125966 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-number-format:alpha-upper;
        mso-level-text:"%1\)";
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=white background="cid:image001.jpg@01C91E33.48093C60" lang=EN-US
style='tab-interval:.5in'>
<img src="cid:image001.jpg@01C91E33.48093C60"
v:src="cid:image001.jpg@01C91E33.48093C60" v:shapes="_x0000_Mail" width=0
height=0 class=shape style='display:none;width:0;height:0'><!--[if gte mso 9]><xml>
<v:background id="_x0000_s1025" o:bwmode="white">
<v:fill src="cid:image001.jpg@01C91E33.48093C60" o:title="Clear Day Bkgrd"
type="tile"/>
</v:background></xml><![endif]-->
<div class=Section1>
<p class=MsoNormal><span class=EmailStyle15><font size=3 color="#0033cc"
face=Arial><span style='font-size:12.0pt;mso-ansi-font-size:12.0pt'><span
style='mso-bidi-font-size:10.0pt'>I have a module that may accept several
optional parameters from the user.<span style="mso-spacerun: yes">
</span>The "standard" way of doing this is something like
"my-module/action/123/0/3/list/xyz" where everything after
"123" is optional, so doesn't show up in the menu entry.<o:p></o:p></span></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle15><font size=3 color="#0033cc"
face=Arial><span style='font-size:12.0pt;mso-ansi-font-size:12.0pt'><![if !supportEmptyParas]> <![endif]></span><o:p></o:p></font></span></p>
<p class=MsoNormal><span class=EmailStyle15><font size=3 color="#0033cc"
face=Arial><span style='font-size:12.0pt;mso-ansi-font-size:12.0pt'><span
style='mso-bidi-font-size:10.0pt'>I'm not crazy about this technique, although the
menu system does make it easy to use.<o:p></o:p></span></span></font></span></p>
<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1;
tab-stops:list .5in'><![if !supportLists]><span class=EmailStyle15><font
size=3 color="#0033cc" face=Arial><span style='font-size:12.0pt;mso-ansi-font-size:
12.0pt'>A)<font size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></font></span><![endif]><span class=EmailStyle15><font
color="#0033cc"><span style='mso-ansi-font-size:12.0pt'>The user has to
remember, or look up, the order of those parameters (I have to look them up
because I can't remember them, and I wrote it).<o:p></o:p></span></font></span></p>
<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1;
tab-stops:list .5in'><![if !supportLists]><span class=EmailStyle15><font
size=3 color="#0033cc" face=Arial><span style='font-size:12.0pt;mso-ansi-font-size:
12.0pt'>B)<font size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></font></span><![endif]><span class=EmailStyle15><font
color="#0033cc"><span style='mso-ansi-font-size:12.0pt'>If the user is happy
with an intermediate value (e.g. the "3" above), they still have to
specify it in order to use "list."<o:p></o:p></span></font></span></p>
<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1;
tab-stops:list .5in'><![if !supportLists]><span class=EmailStyle15><font
size=3 color="#0033cc" face=Arial><span style='font-size:12.0pt;mso-ansi-font-size:
12.0pt'>C)<font size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></font></span><![endif]><span class=EmailStyle15><font
color="#0033cc"><span style='mso-ansi-font-size:12.0pt'>There is no flexibility.<o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle15><font size=3 color="#0033cc"
face=Arial><span style='font-size:12.0pt;mso-ansi-font-size:12.0pt'><![if !supportEmptyParas]> <![endif]></span><o:p></o:p></font></span></p>
<p class=MsoNormal><span class=EmailStyle15><font size=3 color="#0033cc"
face=Arial><span style='font-size:12.0pt;mso-ansi-font-size:12.0pt'><span
style='mso-bidi-font-size:10.0pt'>I was playing around and realized that $_GET
makes getting input parameters from the query string pretty easy. It also gives
me more flexibility in adding (or removing) the optional parameters, means the user
doesn't have to remember the order, and means only values that are desired have
to be entered.<o:p></o:p></span></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle15><font size=3 color="#0033cc"
face=Arial><span style='font-size:12.0pt;mso-ansi-font-size:12.0pt'><![if !supportEmptyParas]> <![endif]></span><o:p></o:p></font></span></p>
<p class=MsoNormal><span class=EmailStyle15><font size=3 color="#0033cc"
face=Arial><span style='font-size:12.0pt;mso-ansi-font-size:12.0pt'><span
style='mso-bidi-font-size:10.0pt'>Will I be tarred and feathered for going the
$_GET route?<o:p></o:p></span></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle15><font size=2 color="#0033cc"
face=Arial><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=MsoAutoSig><!--[if supportFields]><font size=2 color="#0033cc"><span
style='font-size:10.0pt;color:#0033CC'><span style='mso-element:field-begin'></span><span
style="mso-spacerun: yes"> </span>AUTOTEXTLIST \s "E-mail
Signature" <span style='mso-element:field-separator'></span></span></font><![endif]--><font
color=fuchsia face="Comic Sans MS"><span style='font-family:"Comic Sans MS";
color:fuchsia'>Nancy E. Wichmann, PMP<o:p></o:p></span></font></p>
<p class=MsoAutoSig><font size=3 color="#0033cc" face="Comic Sans MS"><span
style='font-size:12.0pt;font-family:"Comic Sans MS";color:#0033CC'><![if !supportEmptyParas]> <![endif]></span></font><font
color="#0033cc" face="Comic Sans MS"><span style='font-family:"Comic Sans MS";
color:#0033CC;mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<!--[if supportFields]><font size=2 color="#0033cc" face=Arial><span
style='font-size:10.0pt;font-family:Arial;mso-fareast-font-family:"Times New Roman";
color:#0033CC;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:
AR-SA'><span style='mso-element:field-end'></span></span></font><![endif]--><font
size=2 color="#0033cc" face=Arial><span style='font-size:10.0pt;font-family:
Arial;mso-fareast-font-family:"Times New Roman";color:#0033CC;mso-ansi-language:
EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA'> <o:p></o:p></span></font></div>
</body>
</html>