Jump to content

backslashes or no backslashes


jakebur01

Recommended Posts

i am posting the following data , should i add trim() around them and add backslashes? they are being posted to the page where i am checking all the fields before storing the data.

   $username = $_POST["username"];
		   $email = $_POST["email"];
		   $pass1 = $_POST["pass1"];
		   $pass2 = $_POST["pass2"];
		   $secure = $_POST["secure"];
		   $agree = $_POST["agree"];

Link to comment
https://forums.phpfreaks.com/topic/92345-backslashes-or-no-backslashes/
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.