note 126704 deleted from function.strpos by cmb
| From: | cmb@php.net | Date: | Wed, 22 Dec 2021 11:22:31 +0000 |
| Subject: | note 126704 deleted from function.strpos by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-217403@lists.php.net to get a copy of this message | ||
Note Submitter: axew3 at axew3 dot com
----
That's may really obvious and stupid to mention
<?php
if( is_int(strpos( '/adm2/php/adm/index.php?sid=5ffeb20ed9e870f03cc1fcef3faae65d',
'/adm')) )
{
echo'found0 ';
}
if( is_int(strpos( '/adm2/php/adm/index.php?sid=5ffeb20ed9e870f03cc1fcef3faae65d',
'/adm2')) )
{
echo'found1 ';
}
if( is_int(strpos( '/adm2/php/adm/index.php?sid=5ffeb20ed9e870f03cc1fcef3faae65d',
'/adm22')) )
{
echo'found2'; // not found, do not display
}
?>