Jump to content

strip special characters


beermaker74

Recommended Posts

is there a function that strips special characters. I already have it where it replaces spaces with underscores. I have been having problems with the & I am sure that there are a tremendous amount of special chars that will mess up my xml. So if there is something quick that can strip them please let me know

thanks

Link to comment
https://forums.phpfreaks.com/topic/38627-strip-special-characters/
Share on other sites

is there a list of special chars that will mess up a linux system? I am creating xml with the files so I need to make sure everything is compliant. If I used str replace do I need to list every character? I was hoping there was some function that automatically did it.

thanks

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.