Solution for PHP Mail Sending as Junk Characters for Arabic or Unicode Characters

Problem     Problem : Character Encoding Not set in header field of PHP Mail. Solution : headerFields = array( “From: {$visitor_email}”, “MIME-Version: 1.0”, “Content-Type: text/html;charset=utf-8” ); $mail_sent = mail($client_email, $title, $message, implode(“\r\n”, $headerFields)); If its ASP server , please use following command objCDO.BodyPart.Charset = “utf-8” .

» Read more

How to install gcc on Citrix XEN Server

By default, XenServer enables only Citrix yum repository. For example, to examine all enabled repositories on XenServer, run the following. $ sudo yum repolist enabled Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile repo id repo name status citrix XenServer 5.6.100 updates enabled: 0 However, the default Citrix yum repository is void of any useful software. If you want to install a standard Linux package on XenServer, you need to enable a base repository as follows. $ sudo yum –enablerepo=base –disablerepo=citrix install traceroute   If you want to enable base repo on XenServer permanently by default, you can update /etc/yum.repos.d/CentOS-Base.repo as follows. $ sudo sed -i -e “s/enabled=0/enabled=1/” /etc/yum.repos.d/CentOS-Base.repo   From this point on, you can install any software package available in base repository without explicitly enabling it. $ sudo yum install vim-enhanced $ sudo yum install gcc .

» Read more

How to start, stop, or restart networking service under UNIX

How to start, stop, or restart networking service under HP-UX, OpenBSD, AIX and other Unix like operating systems? You can use the following commands as per your UNIX operating systems. HP-UX Unix start / stop / restart networking service # /sbin/init.d/net stop # /sbin/init.d/net start # /sbin/init.d/hostname start IBM AIX Unix start / stop / restart networking service Simply type the following command to make changes to tcp/ip # smitty mktcpip Start network service: # startsrc Stop network service: # startsrc OpenBSD start / stop / restart networking service See this faq for more information on how to restart networking service: # sh /etc/netstart pnc0 FreeBSD start / stop / restart networking service See this post for more information on how to restart networking service: # /etc/rc.d/netif restart Sun/Oracle Solaris Unix start / stop / restart networking service # svcadm restart physical Linux: CentOS / RHEL / Red Hat / Fedora start / stop / restart networking service See this faq for more information: # service network stop # service network start # service network restart Linux: Debian / Ubuntu server start / stop / restart networking service See this faq for more information: # service networking stop # service […]

» Read more

Install XAMPP 1.8.1 to Centos 6.4

Step1 : Download xampp 1.8   wget http://www.apachefriends.org/download.php?xampp-linux-1.8.1.tar.gz   Step 2: Extract the downloaded archive file to /opt:   tar xvfz xampp-linux-1.8.1.tar.gz -C /opt   Step 3 : Start XAMPP   /opt/lampp/lampp start     Step 4: Setup security   /opt/lampp/lampp security     Step 5: /opt/lampp/lampp restart     Step 6: Now access xampp from http://ipaddress   Login using username : lamp  and password you created     Some info on LAMPP commands   START AND STOP PARAMETERS Parameter Description start Starts XAMPP. stop Stops XAMPP. restart Stops and starts XAMPP. startapache Starts only the Apache. startssl Starts the Apache SSL support. This command activates the SSL support permanently, e.g. if you restarts XAMPP in the future SSL will stay activated. startmysql Starts only the MySQL database. startftp Starts the ProFTPD server. Via FTP you can upload files for your web server (user “nobody”, password “lampp”). This command activates the ProFTPD permanently, e.g. if you restarts XAMPP in the future FTP will stay activated. stopapache Stops the Apache. stopssl Stops the Apache SSL support. This command deactivates the SSL support permanently, e.g. if you restarts XAMPP in the future SSL will stay deactivated. stopmysql Stops the MySQL database. stopftp […]

» Read more

Open source equivallent of Page maker

Scribus is an Open Source program that brings professional page layout to Linux/UNIX, Mac OS X, OS/2 Warp 4/eComStation and Windows desktops with a combination of press-ready output and new approaches to page design. Underneath a modern and user-friendly interface, Scribus supports professional publishing features, such as color separations, CMYK and Spot Color support, ICC color management, and versatile PDF creation.   http://www.scribus.net/canvas/Scribus .

» Read more
1 2 3