Pages

Saturday, November 1, 2014

Black Beauty : Dark theme for notepad++

Black beauty is a dark theme for the code highlighting of php, javascript, html for open source code editor notepad++. The theme is developed by web developer honeyonsys - web developer and programmer. Some of the screen shots of the theme is mentioned below. You can download the theme from the below mentioned link at the very end of this page.



Screen shot html



Screen shot javascript


Screen shot php





DOWNLOAD THE THEME FROM HERE

Installation:

Download the Black_beuty.xml / copy the code from browser and save it as a .xml file
Copy this file to C:\Program Files (x86)\Notepad++\themes OR
For WindowsXP:
Copy this file to C:\Documents and Settings\%%USERNAME%%\Application Data\Notepad++\themes
For Windows Vista or 7:
Copy this file to C:\Users\%%USERNAME%%\AppData\Roaming\Notepad++\themes

for any help please visit official website of developer or email to honeyonsys@gmail.com

Friday, March 28, 2014

How to send mail from localhost/XAMPP with mail() function

You can send mail from localhost with sendmail package , sendmail package is inbuild in XAMPP. So if you are using XAMPP then you can easily send mail from localhost.
for example you can configure C:\xampp\php\php.ini and c:\xampp\sendmail\sendmail.inifor gmail to send mail.
in C:\xampp\php\php.ini find extension=php_openssl.dll and remove the semicolon from the beginning of that line to make SSL working for gmail for localhost.
in php.ini file find [mail function] and change
SMTP=smtp.gmail.com
smtp_port=587
sendmail_from = my-gmail-id@gmail.com
sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"
Now Open C:\xampp\sendmail\sendmail.ini. Replace all the existing code in sendmail.ini with following code
[sendmail]

smtp_server=smtp.gmail.com
smtp_port=587
error_logfile=error.log
debug_logfile=debug.log
auth_username=my-gmail-id@gmail.com
auth_password=my-gmail-password
force_sender=my-gmail-id@gmail.com
Now you have done!! create php file with mail function and send mail from localhost.
PS: don't forgot to replace my-gmail-id and my-gmail-password in above code. Also, don't forget to remove duplicate keys if you copied settings from above. For example comment following line if there is another sendmail_path : sendmail_path="C:\xampp\mailtodisk\mailtodisk.exe" in the php.ini file


Posted by honeyonsys

Sunday, February 23, 2014

can't access phpmyadmin mysql window after changing password for root in xampp (linux).


If you have ‌installed xampp/lampp on your linux system and changed the password for your root you will be no longer going to access your mysql window in phpmyadmin. It happens because phpmyadmin has a config file (config.inc.php) which do not update automatically after changing password for root like windows's xampp. so it will show you the following error.

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

to fix this error you need to go to the phpmyadmin directory under the lampp/xampp

and edit the config.inc.php

$cfg['Servers'][$i]['password'] = 'yourpassword';

and its done.

posted by honeyonsys

Thursday, February 13, 2014

Access htdocs root folder from another drive than installation drive in lampp/xampp in linux


To change the document root folder in lampp you need to edit /opt/lampp/etc/httpd.conf

do as follow code

# old line: DocumentRoot "/opt/lampp/htdocs"
DocumentRoot "/home/me/Dropbox/public_html"

#...etc...

# old line:

#
# Possible values for the Options directive are "None", "All",
# or any combination of:
#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
# etc...


and restart your lampp/xampp

incase if it will not work then you can do one more thing

Open /opt/lampp/etc/httpd.conf change nobody and nogroup



#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User nobody
Group nogroup

to your username and your group



About Me

Hi,My name is Harish Kumar.I am a web developer by profession.I am working in the same field since 2008. About my skills i am proficient in HTML,CSS,JAVASCRIPT/JQUERY/ ANGULAR,PHP,MYSQL,APACHE,LINUXAJAX, REST,etc...