RE: [PHP] Still having ereg migranes
| From: | Mako Shark | Date: | Wed, 20 Nov 2002 18:31:17 +0000 |
| Subject: | RE: [PHP] Still having ereg migranes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-125290@lists.php.net to get a copy of this message | ||
<<first way:
if(ereg('([^0-9]|^)'.$your_number.'([^0-9]|$)',$_REQUEST['numbers'])
) second way:
$numbers=explode(',',$_REQUEST['numbers']);
if(in_array($your_number,$numbers))>>
Not sure I get this but, again, I can't use $_REQUEST
or explode or in_array at this point. The entire
process needs to happen in the shell_exec() command,
because I'd much rather have that handle the whole
shebang than PHP.
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com