can someone please guide me

$adminlogin = $_GET[‘adminlogin’];

if ([b]strpos/b == 0)
{

can someone fixed that part for me,
i tried to put foreach gives me error,
strpos also,
it direct me to login without filling the login.

please help me

Hi leobell,

I’m not sure what you are trying to do here as your code is limited. However, i’m assuming you are trying to find a part of the string Zw0bubBGHkxaf8Dj8gFqEyH92jxjQXUe and the string inside $adminlogin MUST at least have the character Z as the first character for the condition to be true. Is this what you wanted? If yes, you are putting it in the wrong order. It should be like this:

if (strpos(“Zw0bubBGHkxaf8Dj8gFqEyH92jxjQXUe”, $adminlogin) == 0)

Also, why do you need a foreach? If you want me to help, you need to be more specific. Apart from the wrong order, i don’t see any error.

Regards,
developer.dex2908

Please email me [email protected]
or add me on FB [email protected]

Thanks

Sponsor our Newsletter | Privacy Policy | Terms of Service