...

View Full Version : Can php tell if a number or a letter is being passed from a url?



briintex1
06-24-2006, 08:51 PM
I have a website that is passing something to the url, and then grabbing it from the url. Can php tell if a number or a letter is being passed through the url? So for instance..if A was passed through the url then it would do this...or if 124 was passed through the url then it would do this.

GJay
06-24-2006, 10:44 PM
http://php.net/is-numeric
http://php.net/is-string
and maybe:
http://php.net/strlen



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum