Showing posts with label extension. Show all posts
Showing posts with label extension. Show all posts
Thursday, March 16, 2017
Howto Solve Error extension did not match expected keystore
Howto Solve Error extension did not match expected keystore
Error: extension did not match expected (keystore)Open cmd type: cd C:java pathjavajdk7 in
A command line solution is:
keytool -genkey -v -keystore yourappname.keystore -alias appnamealias -keyalg RSA -keysize 2048 -validity 10000After that you will have an new release keystore for your application!
Go to link download
Wednesday, March 8, 2017
Two different ways to find file extension in PHP
Two different ways to find file extension in PHP
You can find a file extension in PHP using different ways.
Today Ill show you two different ways.
The first is a built-in PHP function called pathinfo(), which is used as follows:
$ext = pathinfo($filepath, PATHINFO_EXTENSION);Or by using some geeky PHP code as follows:
$path = /path/to/img.gif;
$path = explode(.,$path);
$path = end($path);Thats It!Sometimes, the key is in simplicity Go to link download
Subscribe to:
Posts (Atom)