I need to know how to take ~!@#$%^&*()_+ and all the other things away from $_POST all i want to keep in message is the ABC's and Numbers. How can i do this?
Comments
danielneriWP V.I.P.VPS - Virtual Prince of the Server
in what are you using this for? someone like python or nuvo would probably be better at helping you...
Comments
<?php
$_POST = ereg_replace("[^A-Za-z0-9]", "", $_POST);
echo $_POST;
?>[/PHP]
That should do it... It uses the ereg_replace function and gets rid of all non alpha-numeric characters and output the clean version
The Royal Ram
is that supposed to be a question?