Re: MHonArc and PHP (for Generation)</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=mhonarc@ncsa.uiuc.edu&q=from:%22John+Hogan%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">John Hogan</span></span></a></span> <span class="date"><a href="/search?l=mhonarc@ncsa.uiuc.edu&q=date:20000203" rel="nofollow">Thu, 3 Feb 2000 13:15:25 -0800</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <PRE> I'd use the 'AddSlashes()' function before the variable is passed to the <title> tag >I did check the archives before sending this message (actually I am >surprised that it hasn't come up before)... And apologies if this message >shows up more than once (I was subscribed to this list under a address that >has since changed) > >The organization that I do some work under has a extensive MHonArc mail >archive for their mail archives. Now all of this is written to use their >PHP includes (for HTML formating purposes). One slight problem - in these >archives, we use the message subject as part of the HTML title (using the >$SUBJECTNA variable). Normally this works great - EXCEPT when the message >subject has quotes ("), then PHP is unable to parse it, because it ends up >looking like: > ><?php $title="How Does "this" work"; ?> > >Is there any way to have MHonArc parse out the (")'s in the subject before >generating that PHP statement? (I have been doing them by hand in the >meantime) > >Thanks in advance for any suggestions you may have... > >(I am using MHonArc v2.4.3) > >Best Wishes - Peter > >--- >Peter Losher <[EMAIL PROTECTED]> >Systems Admin. - Nominum, Inc. PGP key available on request > - J </PRE> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg01658.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="thrd7.html#01659">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="mail7.html#01659">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg01661.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email"><span class="subject"><a href="msg01657.html">MHonArc and PHP (for <TITLE> Generation)</a></span> <span class="sender italic">Peter Losher</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg01658.html">Re: MHonArc and PHP (for <TITLE> Generation)</a></span> <span class="sender italic">Nathaniel Irons</span></li> <li class="icons-email"><span class="subject"><a href="msg01661.html">Re: MHonArc and PHP (for <TITLE> Generation)</a></span> <span class="sender italic">John Hogan</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg01661.html">Re: MHonArc and PHP (for <TITLE> Generation...</a></span> <span class="sender italic">Peter Losher</span></li> </ul></li> <li class="icons-email"><span class="subject"><a href="msg01667.html">Re: MHonArc and PHP (for <TITLE> Generation)</a></span> <span class="sender italic">Earl Hood</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg01669.html">Re: MHonArc and PHP (for <TITLE> Generation...</a></span> <span class="sender italic">Peter Losher</span></li> </ul> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="Re: MHonArc and PHP (for <TITLE> Generation)"> <input type="hidden" name="msgid" value="4.2.2.20000203145128.00b58bf0@mail.sparklist.com"> <input type="hidden" name="relpath" value="mhonarc@ncsa.uiuc.edu/msg01659.html"> <input type="submit" value=" John Hogan "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="mhonarc@ncsa.uiuc.edu"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search mhonarc"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/mhonarc@ncsa.uiuc.edu/">mhonarc - all messages</a></li> <li class="icons-about"><a href="/mhonarc@ncsa.uiuc.edu/info.html">mhonarc - about the list</a></li> <li class="icons-expand"><a href="/search?l=mhonarc@ncsa.uiuc.edu&q=subject:%22Re%5C%3A+MHonArc+and+PHP+%5C%28for+%3CTITLE%3E+Generation%5C%29%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg01658.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg01661.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">4.2.2.20000203145128.00b58bf0@mail.sparklist.com</li> </ul> </div> </body> </html>