In one of my project I had to use AWS SNS service to send an SMS from Magento I am explaining here a basic way to implement the same 1) Refer aws-sdk-php to install AWS SDK Guide – sdk-for-php 2) Create a Magento configuration to store access key, secret key, version, region, topic 3) Set […]
In one of my post I explained the basics of SOAP API, please refer Magento SOAP API before proceeding further I am listing here the methods to update Product’s stock related information using SOAP API Hope this is helpful
Below is the simple PHP script to connect database using mysqli Hope this is helpful.
Hello All, I had to make a custom form for file uploading in PHP, I am explaining here the way to upload a file.
Below is the simple PHP (>= 7.0.0) script to connect with the MS SQL database Hope this is helpful.
I am describing here a way to generate coupon codes with custom configurable parameters. Hope this is helpful.
Below is a simple script to generate random string/password using PHP. You can customize the same by adding special characters. Hope this is helpful.
Hello All, This is kind of fun stuff. I was bored and decided to build a Pyramid Program in PHP. Above code on execution will output Enjoy 🙂
Hello, I am describing here the way to 1) Encode image to generate a string 2) Decode image from a given encoded string 1) Here you need to specifiy the path of your image in variable ‘$image_path’ 2) Here I am using the string produced from the executing the code seen above, it can be […]
One day I was just thinking about days spent by me on this earth, so I decided to make a script for the same. I am writing here the code, just make a new empty php file and copy and paste the script and execute it to find out the days between two dates. Hope […]