Jump to content

Check for "empty" string


weee

Recommended Posts

Hello Everyone,

 

I am having issues where people are submitting null characters on my website (I.e. %00).  Currently, I check if their is a value by using the empty function, and I also am checking if the value after running the trim command is =="".  How can I check for these special characters to make sure that whatever they are submitting actually contains some sort of legitimate value?

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/252657-check-for-empty-string/
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.