Jump to content

[SOLVED] html char %0D


jaymc

Recommended Posts

I have a text document which i use php to strip data from

 

One stage it strips someones name, however, there name contains a hidden character and after further investigation ive found it to be the html eqivelent of

 

%0D

 

Which is apparently a line feed

 

How can I use PHP to strip it out. Please note that its not actually displayed as THERENAME%0D

 

But I know its there

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/49202-solved-html-char-0d/
Share on other sites

Because it doesnt show up as %0D in notepad or when echoing it

 

I only found it out when it was displayed in the browser and I noticed that char appearing at the end

 

Its like an invisible character anywhere else apart from in an address bar

 

Or if its in notepad it will just insert a new line. I suppose its like \n

 

How the hell can i get rid ofr this its driving me crazy

 

 

Link to comment
https://forums.phpfreaks.com/topic/49202-solved-html-char-0d/#findComment-241142
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.