From: Phil D. <ph...@lo...> - 2014-10-18 21:33:18
|
Well we use htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') everywhere else - if there is a hard coded script name then normally it is not the same script - if you see one that should be htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') then do let me know. Thanks Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 19/10/14 05:48, rfthomas wrote: > Most scripts call themselves multiple times. Instead of calling the script > by hard code the $_SERVER['SCRIPT_NAME'] variable should be used. > > Such would replace hard coding the script name when calling the script > again. > > Could a coding standard be developed? I would be happy to work on this. > > Bob Thomas > > > > -- > View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Easing-update-pain-tp4657722p4657728.html > Sent from the web-ERP-developers mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |