PHP – Current Year for Copyright

PHP - Current Year for Copyright Footer
Who working for website, blog or web related applications, they will face this question at last. Why Last? Because, Footer is coming at last of the page :) . Anyway, come on we will solve this problem. First simple solution,
<?php echo date("Y"); ?>
or
<?= date("Y") ?>

Use &copy; <?php echo date("Y") ?> Copyright - All rights reserved. for

© 2015 Copyright – All rights reserved.

Continue reading

Posted in Code, PHP | Leave a comment

Composer: You must enable the openssl extension to download files via https in WAMP

You may install Composer without any problems. After you may get this “You must enable the openssl extension to download files via https” error, when you are running that or else(Goto Notes).

Composer You must enable the openssl extension to download files via https in WAMP - Steptoinstall.com

Solution for this problem is simple. Single step. Let’s go,

Go to PHP’s php.ini file in following line:
c:\wamp\bin\php\php(version)\php.ini

In that file, find ;extension=php_openssl.dll line and enable this line by removing the semicolon (;) in front that line.

Notes:
1. This problem you will get when you are running travis-ci, skeleton or else…

Composer: You must enable the openssl extension to download files via https in WAMP

Posted in Composer, Error, Wamp, Windows | Leave a comment

PHP cURL not working in WAMP on windows 7 32 bit

PHP CURL is won’t work in wamp server on windows 32 bit. This is different from 64 bit. Here Windows OS may be XP, 7, 8 or 10.

Just do following steps to fix this problem.
PHP cURL not working in WAMP on windows 7 32 bit-steptoinstall.com

PHP cURL not working in WAMP on windows 7 32 bit

Step 1: Close WAMP Server (If it’s Running)
Step 2: Open php.ini file.( WAMP\bin\php[your-version]\)
Step 3: Just Uncomment extension=php_curl.dll and save it.
Step 4: Open another php.ini file.( WAMP\bin\Apache[your-version]\bin\)
Step 5: Just Uncomment extension=php_curl.dll and save it.
Step 6: Restart your WAMP Server.

It will be helpfull for 32 bit windows only. Not for 64 bit. For 64 bit follow this Link.

Posted in local server, Wamp, Windows | Leave a comment

How to update wordpress to new version?

Why should update wordpress

Update your wordpress core and theme will increase the security, Nearly 20% of the web running on wordpress So hackers are always looking for hole get in to your site. Lets move to update wordpress to new version

Advantage of the wordpress update.

  • Increase security
  • Fix bugs
  • Add new features and functionality.

Continue reading

Posted in Update, Wordpress | Leave a comment
Page 1 of 41234