Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #12010
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.teledata-fn.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail |
|---|---|
| Content-Type | text/plain; charset="UTF-8" |
| Message-ID | <2269997.ZKPhRHLOFA@PointedEars.de> (permalink) |
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Reply-To | Thomas 'PointedEars' Lahn <php@PointedEars.de> |
| Organization | PointedEars Software (PES) |
| Date | Thu, 28 Nov 2013 20:20:55 +0100 |
| User-Agent | KNode/4.11.3 |
| Content-Transfer-Encoding | 8Bit |
| X-Face | %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&.<b';Md8`dH6iqhT)6C^.Px|[=M@7=Ik[_w<%n1Up"LPQNu2m8|L!/3iby{-]A+#YE}Kl{Cw$\U!kD%K}\2jz"QQP6Uqr],./"?;=4v |
| Face | iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXTxa4RFk5dUWANED8PFEfy7+MGBiW+n3ZNF/QuAAACaElEQVQ4jVXUwVOcMBQG8Dc7Rc4PUntdWV2uxjDpGaGeozOp1woar4jd5t/v9wLstMwsA/ntlxdCAgUc1hjTc9/JCZfGoo3wG3HdmdAWrIJRHe7GM/TmpY5VFefuVcAkkPbLIaN8rmPmjloyZxgyR3GuJ4K0AGtJ2htz8o7yqikm759fldQXaMpbDzjKAG+8v+AugVTOPO5DOjLvGtUYQwh0CPjnVMyGd+8/GfUB5nLKJDD2aLDh5HYyMDJGDwQIo2ZmZcKbowNmAdB/AzyFhrmF2MHRb0QJJfaAnwGB6orZhoykLzJtGwF/xpYxI1dswomiUj3gTuAIqCn/4C7cULwGNBtwMTk3Y4LfKB5YUaOKBKYtpplm7u0vip8tU1NWWyI/7XdcSuIDoMt6rVHMWT0DbjHPGqDqZVSa6zleLcUTcIKLoMv3ueJluALtAo9B302zPPlrtiVScRdCjXvVh3e3JpYa/jjkuC9N+LrBMlz/eAN4eQijX2EdLo6c5tGGHwLyHFtXk89dDGHwCVhG9T0S/j55AhRZgkMCmUQXJ49TnS1wnQDvw0eAh9ICeMmEFbCnPMFzjAvsWoEWEFdYEx+S0MoUZ1gT1wId8+AF3Bl2OoEu906AUHx5VLw/gXYg/x84loOah/2UYNrgiwSwGO7RfUzVBbx/kgpckumGOi6QirtD6gkLTitbnxNol47S2jVc2vsN5kPqaAHT8uUdAJM4v/DanjYOwmUjWznGfwB7sGtAtor5BgofDuzaRj4kSQAqDakTsKORa3Q3xKi3gE1fhl71KRMqrdZ2AWNNg/YOhQyrVBnb+i+nEg4bsDA+egAAAABJRU5ErkJggg== |
| Subject | Re: finding newlines |
| Newsgroups | comp.lang.php |
| References | <l6vst0$ijk$1@speranza.aioe.org> <l70fsg$7dg$1@dont-email.me> <l74gg6$tr7$1@speranza.aioe.org> <1731929.8bB35ViQIY@PointedEars.de> <l77rq5$pbb$1@speranza.aioe.org> |
| MIME-Version | 1.0 |
| Lines | 36 |
| NNTP-Posting-Date | 28 Nov 2013 20:20:57 CET |
| NNTP-Posting-Host | 50bf82ea.newsspool4.arcor-online.net |
| X-Trace | DXC=>G9XH:lNViCgj[ZPFj7ehO4IUK<Cl32<A4Fo<]lROoRA8kF<OcfhCOKQce:MKiA0>EDZm8W4\YJNLYUVHKH;GI^GNhATJZcl9GEGf>h537WPWH |
| X-Complaints-To | usenet-abuse@arcor.de |
| Xref | csiph.com comp.lang.php:12010 |
Show key headers only | View raw
bill wrote: > On 11/27/2013 10:56 AM, Thomas 'PointedEars' Lahn wrote: >> bill wrote: >>> I create the progress note in another script that is POSTed to >>> this one. >>> >>> looking at progress note tells me that is is as I said, actually, >>> I copied it from the display of the debug statement: >>> >>> echo basename(__FILE__) . ": " . __LINE__ . >>> ":progNote=>$progressNote<<br />"; >> ^ >> This is almost certainly an error. Also, you want to htmlspecialchars() >> etc. the value of $progressNote. > > actually, not an error. I use the open and close bracket > characters to help me see the string and not miss spaces on > either end. “<br />” is either XHTML or HTML5 syntax. In HTML, in XHTML and in other XML applications, “<” and ”>” are special markup characters (Start-Tag Open [STAGO] and Tag Close [TAGC]). You need to escape literal ”<” (in order to prevent it from being parsed as STAGO, at least when a letter follows) and you should escape literal ”>” (if only to avoid confusion). PHP's htmlspecialchars() also does that for you. <http://validator.w3.org/> PointedEars -- Prototype.js was written by people who don't know javascript for people who don't know javascript. People who don't know javascript are not the best source of advice on designing systems that use javascript. -- Richard Cornford, cljs, <f806at$ail$1$8300dec7@news.demon.co.uk>
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
finding newlines bill <william@TechServSys.com> - 2013-11-25 11:12 -0500
Re: finding newlines Christoph Michael Becker <cmbecker69@arcor.de> - 2013-11-25 17:32 +0100
Re: finding newlines bill <william@TechServSys.com> - 2013-11-26 09:36 -0500
Re: finding newlines Richard Yates <richard@yatesguitar.com> - 2013-11-25 08:34 -0800
Re: finding newlines Denis McMahon <denismfmcmahon@gmail.com> - 2013-11-25 20:11 +0000
Re: finding newlines Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-25 22:23 +0100
Re: finding newlines Denis McMahon <denismfmcmahon@gmail.com> - 2013-11-26 18:05 +0000
Re: finding newlines Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-26 19:46 +0100
Re: finding newlines Wizard-Of-Oz <somewhere@over.rainbow.com> - 2013-11-30 16:50 +0000
Re: finding newlines Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-12-01 17:11 +0100
Re: finding newlines Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-25 22:18 +0100
Re: finding newlines Jerry Stuckle <jstucklex@attglobal.net> - 2013-11-25 16:36 -0500
Re: finding newlines bill <william@TechServSys.com> - 2013-11-27 05:11 -0500
Re: finding newlines Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-27 16:56 +0100
Re: finding newlines bill <william@TechServSys.com> - 2013-11-28 11:42 -0500
Re: finding newlines Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-28 20:20 +0100
Re: finding newlines Denis McMahon <denismfmcmahon@gmail.com> - 2013-11-29 00:57 +0000
Re: finding newlines Jerry Stuckle <jstucklex@attglobal.net> - 2013-11-27 11:47 -0500
Re: finding newlines bill <william@TechServSys.com> - 2013-11-28 11:09 -0500
csiph-web