How to Send Email with php – glemser technologies

This is the Easy way to Send Email with php. Today we are Discuss about the How to Send Email with Php KTechBlog.com
Php is the one of the best Server Side language. Php have lot of Inbuilt Function. You can also add lot of function as per your need.
Today we are Discuss about how to send email in php ?
You have to Copy this Code and Paste in Your.php File
<?php
//How to send Email with Php?
$from= “xyz@gmail.com”; //Enter Your From Id Here
$sub= “Subject Here”;
$msg = “Enter Your message Here”;
$to =”abc@gmail.com”;
mail($to,$sub,$msg,$from); //Enter Your Send to id Here
//Now run this File in Your Server
?>
This is the Easy Way to How to Send Email with php and how to send email in php, How to send email, how to send email using php, Send Email with Php and Gmail, How to send email in Xammp Server, How to Send Email from Localhost, How to send email with Wamp Server, Learn to Send email with php
How to Generate Certificate Key for Phonegap – glemser technologies
This is the Easy way for the How to Generate Certificate Key for Phonegap ? You can Generate apk without Certificate But if You want to Upload You website on App Store. Then you need your one certificate. This is the basic need before upload any Apk on App Store.
If you want to Update Your apk version on app store then you need same certificate. Certificate is important file so Keep Save it. You can use Same Key in a Multiple Application. You can also use different different key in same App Developer Account.
Now we discuss about how to generate certificate key for Phonegap ? You have to Follow this Step.
Install Java and Jre in Your Computer
Open command Prompt and Now Set the Java Home Directory
open keytool.exe
Copy Below Code and Paste it
Change You Alias name and Keytool file name with path
Open You Location
This is the Sample Syntax
keytool -genkey -v -keystore [keystore_name].keystore -alias [alias_name] -keyalg RSA -keysize 2048 -validity 10000
Change You Alias name and path
keytool -genkey -v -keystore F:\karan.keystore -alias karan -keyalg RSA -keysize 2048 -validity 10000
Enter Password and Much more Detail and Last Your Certificate File Create in F:\karan.keystore
*Remember You alias name and Password
For More Detail You can Watch this Video for Complete Guide.
Thank You
How to Open Any Website Using Cmd (Command Prompt). – glemser technologies
How to Open Any Website Using Cmd (Command Prompt).
March 13, 2018karan 96
Hello Readers,
Today We are discuss About How to Open any Website using Cmd. You can Easily open any website using the Command Prompt. This is the Simple Way to Open any website Using Cmd.
Open Cmd and Type the Following Code.
explorer “http://ktechblog.com”
You can Open Website using the this trick.
You can Open Any Website in Chrome Browser Following this Code.
start chrome http://www.ktechblog.com/
You can Open Any Website in FireFox Following this Code.
start firefox http://www.ktechblog.com/
How to change import file size in PhpmyAdmin – glemser technologies
How to change import file size in PhpmyAdmin
February 6, 2018karan 268
When you transfer your website one server to another server. When you import your sql files in phpmyadmin . You face this type of problem many time.
If you have a local server installation PHP and MySql then you might often required to import database files into your phpmyadmin
the error will looking like this.
No data was received to import. Either no file name was submitted, or the file size exceeded the maximum size permitted by your PHP configuration
Different Different Software have the different import sql file size. But good thing is the you can change it as per requirement.
Today we are Discuss about xampp server. You have to Follow this step….
Open the Xampp Control Panel.
Click on the Config in the Apache row.
Click on the php.ini from dropdown menu.
Search for keyword upload_max_filesize or visit the line number approx 800 and change the value of attribute upload_max_filesize to the value you require. By default import sql file limit will be 2MB.
Save the File.
Restart Your Apache and MySql.
if this is not work in your condition. then changes in below code
post_max_size = 500M
upload_max_filesize = 500M
max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000M
Now You can easily upload file and Import file size will be 500MB or below 500MB. You can also change the maximum execution time and input time to change in php.ini.
If you guys have any question please feel free to ask and put your doubts in the comments section below.
How to transfer data from Controller to View Magento ? – glemser technologies
Hello Developer,
today we are Learn How to transfer data from Controller to View Magento.
Magento have a inbuilt function to pass array from controller to Phtml file. You can Pass any Data Like a Array String using this Method.
First You have to Store a Value in one variable.
$cars =array(“Volvo”,”BMW”,”Toyota”);
Its You array You want to pass a result in phtml file from controller Magento. then You can use Mage::register method to pass array in controller.
Now Set this value in Your Controller.
Mage::register(‘cars_data’,$cars);
In this line the cars_data name is only name to access the data in phtml file. You can writer here any name as per Your Choice.
Now Get Data in Your View Phtml File.
$car_value = Mage::registry(‘cars_data’);
Now You Can Store the data in a Variable and you can Check the getting data using var_dump($car_value );
How to solved Access Denied issue in Admin Panel Magento – glemser technologies
Many of the Magento Developers encountered this Problem. some of the Magento Developer don’t know how to resolve this Problem. You can Resolved this Problem in a few minutes.
If you login in the admin panel the backed show error “Access Denied“. How upsetting is..
We are give the solution of this Problem. You can do it easily within 2 Minute. You have to copy the code and run into the Phpmyadmin.
You have to Follow this Step
Copy this code and Go to your phpmyadmin. select your Magento Database. Open the SQL tab and Paste the Code.Now Press to GO Button.
DELETE admin_rule
FROM admin_rule, admin_role
WHERE
admin_role.role_name = “Administrators”
AND admin_rule.role_id = admin_role.role_id
After Complete the first step. Copy the second code and run this Query.
INSERT INTO admin_rule (role_id, resource_id, assert_id, role_type, permission)
VALUES (‘1′,’all’,’O’,’G’,’allow’)
Now You can try to Login in Your Magento Backend admin Panel. You can login Successfully in backend.
If you guys have any question please feel free to ask and put your doubts in the comments section below.