hi guys!
can somebody write the lines for me:
1. how to make sure that data from $_GET would be all numbers via eregi()
example:
[code=html]www.domain.com?data=12345[/code]
so how do i check and make sure that the stuff passed into "data" is a set of numbers ranging from 1-99999999?
i like the code to look kinda like:
[code=php]if (eregi ([0-9]{1,99999999})$, $_GET('data')) {[/code]
- how about making sure that he submitted data is always a set of 8-digit numbers?
tnx for the help in advance!