nekonesaprotu Posted August 17, 2008 Report Share Posted August 17, 2008 Kā pārbaudīt vai $_POST['lietotajvards'] nesatur neko citu kā tikai a-z un 0-9? Un kā pārbaudīt vai $_POST['epasts'] ir e-pasts? Vai vismaz kādu google saiti kur ir par to tēmu? :) Link to comment Share on other sites More sharing options...
Kristabs Posted August 17, 2008 Report Share Posted August 17, 2008 http://lv2.php.net/preg-match http://www.regular-expressions.info/email.html Izmanto to funkciju, kur attiecīgi ir jāizmanto pareizais patterns tam, ko vēlies pārbaudīt. Link to comment Share on other sites More sharing options...
nekonesaprotu Posted August 17, 2008 Author Report Share Posted August 17, 2008 Paldies :P Link to comment Share on other sites More sharing options...
Recommended Posts